1. Introduction
The Euler product formula can be used to calculate the asymptotic probability that s randomly selected integers are set-wise coprime. The asymptotic probability that s numbers are coprime is given by a product over all primes,
Bernhard Riemann’s 1859 article "On the Number of Primes Less Than a Given Magnitude" [
1] extended the Euler definition to a complex variable, proved its meromorphic continuation and functional equation, and established a relation between its zeros and the distribution of prime numbers.
The
classical Riemann–von Mangoldt explicit formula for the Chebyshev function
is [
2]
where the sum runs over all nontrivial zeros
of the Riemann zeta function.
2. Method
Assuming the Riemann Hypothesis (
) and pairing conjugate zeros:
Using polar form:
so that the sum becomes a real cosine series.
2.1. Main Benefits of the Cosine-Phase Formula
- 1.
-
Fully real arithmetic:
Uses only real numbers and cosines.
Avoids complex exponentials and divisions.
Reduces CPU operations per zero, giving speedup for small-to-medium zero sets.
- 2.
-
Explicit oscillatory structure:
Each zero contributes a real cosine wave with amplitude and phase .
Makes interference patterns explicit.
Ideal for visualization, peak detection, and oscillation analysis.
- 3.
-
Improved numerical computation:
Pairing zeros ensures real output.
Term magnitudes give natural truncation and error estimation.
Compatible with Kahan or compensated summation for cancellation.
- 4.
-
Lower memory usage:
Stores only 1 real per zero instead of 2 for complex numbers.
Improves cache efficiency, enabling larger zero sets in RAM.
- 5.
-
Vectorization-friendly:
Cosines and multiplications can be fully vectorized (SIMD, GPU, multi-core).
Simpler to implement in high-performance numerical libraries.
- 6.
-
Visualization and peak analysis:
Peaks correspond to constructive interference of zeros.
Directly interpretable, unlike the classical complex sum.
| Feature |
Classical Formula |
Cosine-Phase Formula |
| Arithmetic type |
Complex |
Real only |
| Oscillatory structure |
Hidden in complex plane |
Explicit cosine waves |
| Numerical speed |
Moderate |
Faster () |
| Memory usage |
Higher |
Lower |
| Vectorization |
Possible |
Easier |
| Peak detection |
Hard |
Easy and intuitive |
| Error control |
Requires complex analysis |
Natural truncation bounds via amplitudes |
2.2. Amplitude and Phase
Each zero
contributes with amplitude
and phase
making the effect of individual zeros transparent. Each term in the classical explicit formula has the form:
Writing
in polar form:
The magnitude
contributes to the amplitude in the cosine sum. The phase
shifts the argument of the cosine.
The phase aligns the vector correctly so that the sum of all vectors reproduces accurately. Without this phase shift, the oscillations would be misaligned and the formula would be incorrect.
The main uses of are:
Phase correction: aligns each zero’s contribution in the cosine sum.
Correct interference: ensures the sum over zeros reproduces the oscillatory behavior of .
-
Magnitude-phase decomposition: represents the argument of in polar form.
Without phase shift the vectors misaligned, strong cancellations and slower convergence. The prime contributions are misrepresented or even completely destroyed.
2.3. Prime Representing Constant
The sequence 2, 3, 2, 3, 2, 5, 2,.., is a sequence of smallest primes that do not divide n. The probability of
is the smallest prime that does not divide n, for some natural number can be written as[
3]:
We can prove
infinitely by the Prime Representing Constant. The constant of the phase shift is 2. The probability of 2 is the smallest prime that does not divide equals to 1/2.
This is a telescoping sum:
, tends to 0
if k = 1, then
The smallest prime that does not divide up to is 2. The probability of 2 is the smallest prime that does not divide n is 1/2. The sum of the probabilities of up to is the smallest prime that does not divide n is also 1/2.
In the paper Prime Representing Constant in the Critical Strip shows the relation of the Prime Representing Constant to the Riemann zeta function. It also introduce a new identity of the Prime Representing Constant [
4]. If we divide Prime Representing into 2.
3. Result
Summing over the
n non-trivial zeros yields
In the explicit formula for prime-counting functions (like
or
), these contributions appear with a minus sign:
The minus sign is essential to accurately reflect the direction of the correction in the distribution of primes.
which represents the oscillatory correction to the smooth main term caused by the first
n non-trivial zeros of
. This expression represents waves whose frequencies are given by the imaginary parts of the nontrivial zeros. The oscillations occur in the logarithmic variable ln x and form the oscillatory component appearing in explicit formulas relating nontrivial zeros to the distribution of prime numbers.
If we change the sign, then
Hadamard gave the infinite product expansion [
5]
This solution proves that the Prime Representing Constant can be computed using the product of nontrivial zeros of the Riemann zeta function.
4. Discussion
The cosine-phase formula offers several advantages over the classical explicit formula. It is a fully real, explicit oscillatory structure, improved numerical computation, lower memory usage, vectorized, systematic visualization, and peak analysis. We can prove it using the Prime Representing Constant.
The probability of
is the smallest prime that does not divide n, for some natural number can be written as:
The average of this equation give us the Prime Representing Constant.
This is a telescoping sum.
The smallest prime that does not divide up to is 2. The probability of 2 is the smallest prime that does not divide n is 1/2. The sum of the probabilities of up to is the smallest prime that does not divide n, which is also 1/2. The sum of 1/2 and 1/2 equals 1.
We infinitely prove the probability that the sum of the
is the smallest prime that does not divide n is equal to 1. We also infinitely prove the value of the Prime Representing Constant because the value of the Prime Representing Constant is based on the value of the probability of
, which is the smallest prime that does not divide n. The Prime Representing Constant divided by 2 and changing the sign to negative will give us
We can verify it on any formula for the Riemann zeta function. Especially the Hadamard product expansion formula, which uses the product of the nontrivial zeros. Using the formula presented below and substituting s = 0.4999161... the result is equal to the value of the Prime Representing Constant.
There exists a linear oscillatory operator whose distributional trace reproduces the cosine-phase explicit formula for . The operator encodes prime powers through its trace, and its normalization is fixed by the Prime Representing Constant. The Prime Representing Constant infinitely generates prime numbers and reconstructs the prime counting function.
Acknowledgments
The authors are grateful to Angeles Bulanhagui, and Heart Bulanhagui.
References
- Riemann, Bernhard. Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse; 1859. [Google Scholar]
- von Mangoldt, H. Zu Riemanns Abhandlung “Über die Anzahl der Primzahlen unter einer gegebenen Größe”. Journal für die reine und angewandte Mathematik 1895, 114, 255–305. [Google Scholar]
- Fridman, Dylan; Garbulsky, Juli; Glecer, Bruno; Grime, James; Florentin, Massi Tron. A prime-representing constant. The American Mathematical Monthly 2019, 126(1), 70–73. [Google Scholar] [CrossRef]
- Bulanhagui, R. Prime Representing Constant in the Critical Strip. Preprints 2025, 2025101343. [Google Scholar] [CrossRef]
- Titchmarsh, Edward Charles; Heath-Brown, David Rodney. The theory of the Riemann zeta-function; Oxford university press, 1986. [Google Scholar]
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).