1. Introduction
Analytic approximations have been known for estimating the prime-counting function,
which counts the exact number of primes less than a given magnitude,
—e.g., the logarithmic integral,
and Riemann’s prime-power counting function. A systematic computational study of these approximations is given in [
1]. Another interesting approach to prime counting is presented in [
2]. In that work, the authors employed a novel random approximation method that produces the existence of a discrete Beurling prime system. In [
3], the author directly developed asymptotic expansions of the prime-counting function,
. In that work, some general results on asymptotic continued fraction expansions were determined. The author in [
3] also found that the results of the prime-counting function,
, could be generalized to any arithmetic semigroup (or any number field). Another interesting work is seen in [
4], where the authors explored the fractal nature of a prime-counting function. In that research, the prime numbers related to fractal curves and polygons were derived. This was performed by combining the approximation of the prime-counting function constructed on an additive function and prime-number-indexed basis entities obtained using the Fourier basis (discrete/continuous). In [
5], the author proved that the asymptotic limit of a summation operation performed on a unique subsequence of prime numbers produces the prime number counting function,
as
approaches infinity. The author also showed that the prime number count could be approximated by carrying out the summation operation on the subsequence up to the limit
(Please refer to
Appendix A and
Appendix B). In [
6], the Copeland–Erdős constant was employed for counting primes. In that work, the authors also proved Cramér’s conjecture on prime gaps using a combinatorial method.
It is known that one of the most effective methods to approximate the number of primes lesser than a given magnitude is the logarithmic integral,
. In the current literature, no existing approximation or analytic method offers a viable alternative function to the logarithmic integral,
for estimating the number of primes less than a given magnitude,
. Therefore, this work proposes a new function,
as an alternative function to approximate the number of primes less than
, thus providing a fresh perspective for number-theoretic studies. This paper is organized as follows:
Section 2 provides the preliminary results and the main results of this work. In this section, a deeper analytical investigation of
reveals modified representations of the Chebyshev function, prime number theorem, and Riemann zeta function. A comparative analysis on the accuracy of the proposed function
for estimating the number of primes is provided in
Section 3. This paper ends with key conclusions and some ideas for future research work.
2. Preliminary Results
In this section, a version of Euler’s formula is developed using a parametrized hyperbolic function. The hyperbolic cosine function is given as:
The hyperbolic cosine function is modified by parametrizing it with a real-valued parameter,
:
In this form, the coefficients of both terms sum to 1. An alternative representation of
is a parametrized version of Euler’s formula:
As
, the hyperbolic cosine function is recovered (
), while as
, Euler’ formula is approached (
). The function
is equivalent to the conventional Euler’s identity, where
Another characteristic of the function,
is its conjugate property:
Similarly, for the conjugate function,
: as
, the hyperbolic cosine function is recovered (
), while as
, Euler’ formula is approached (
). It is also important to note that the conjugate multiplication and the inverse properties are as follows:
Corollary 1. Conjugate Multiplication. Corollary 2. Inverse Property.A convenient way to represent the analogue Euler’s formula is using the following hyperbolic maps:
where the constants:
and
.
The differential form of the function
is given as follows:
where the constants:
and
. The function,
is defined by the following differential equation:
Definition 1. Let , then the function P(
ω)
is defined as:where the complex coefficients are: Using Definition 1, the following lemma is considered:
Lemma 1. Let , when , the function, .
Proof of Lemma 1. Let . Similarly, .
The summation then becomes:
where the constants are:
□
Definition 2. The prime-counting approximation, estimates the number of primes less than a given magnitude, . The function is defined as: Based on Definition 2, the
is used to estimate
for large values of
:
Main Results
Using the function, (prime-counting approximation), an analogue to the Chebyshev function is defined:
Definition 3. For the number of primes lesser than a given magnitude, , the analogue Chebyshev function, is defined as:where
is the
-th prime number. Theorem 1 provides an analogue version of the prime number theorem: Theorem 1. The prime number theorem is represented using the analogue Chebyshev function, as: where
is the convetional Chebyshev function. Proof of Theorem 1. Using Definition 3, the analogue Chebyshev function is as follows:
where
is the
-th prime. The Chebyshev function is:
Therefore,
in terms of
is:
At the limit
, the following approximation is applied:
Equation (1) at
:
In terms of the approximation in Equation (2):
Based on the prime number theorem:
. It follows that:
In terms of the function
in Equation (3):
Therefore, the following limit exists:
□
Theorem 2. Let be the gamma function, then the gamma function for is represented as:for , where .
Proof of Theorem 2. Consider the function for a complex number:
where
. The gamma function
is represented as follows:
Then, the exponent for
when
is:
Substituting
with the analogue Euler’s formula,
:
The expression
is represented as follows:
The gamma function becomes:
Let
, then the gamma function can be represented as:
for
and
. The parameters
. □
It is important to note that Theorem 2 allows the gamma function to be related to its complex conjugate: . Since , all the properties of the standard gamma functions hold for and . Theorem 3 gives the form of the Riemann zeta function obtained using the complex variable, .
Theorem 3. Let be the Riemann zeta function, then the Riemann zeta function, is given by:for where and .
Proof of Theorem 3. The definition of the Riemann zeta function is given as:
where
,
and
. The Riemann zeta function is defined using the argument:
as follows:
Substituting
with the analogue Euler’s formula,
from Theorems 2.3 and 2.4 yields:
Based on Theorem 2:
Therefore, the Riemann zeta function,
is expressed as:
The integral terms of
are simplified:
The Riemann zeta function,
is then:
For
, the Riemann zeta function is:
□
3. Comparative Analysis
In
Section 2, a parametrized version of Euler’s formula is given:
. Using this formula and the defined function,
, a prime-counting approximation,
is proposed. Using this function and the analogue Chebyshev function,
, a version of the prime number theorem is obtained. In
Section 3, the form of the Riemann zeta function and the gamma function is obtained when the complex form,
, is employed as the argument.
The prime-counting approximation,
was employed to estimate the number of primes lesser than
. Due to limitations in computational resources, the calculation was not extended to the number of primes greater than
The calculations and plotting of the data were conducted using the Python programming language on the Google Collaboratory platform on a cloud with the Python 3 Google Compute Engine (RAM 12.7 GB and Disk space: 107.72 GB). Throughout this work, WolframAlpha [
7] was also employed to perform some calculations. The estimates obtained using
were then compared with values obtained using the logarithmic integral,
(see
Appendix A and
Appendix B). The error in these approximations relative to the actual number of primes lesser than
,
was determined as follows:
where
is
or
.
Figure 1 shows the plot of the obtained error values in the range from
to
:
It can be observed in
Figure 1 that the proposed function,
is a weaker approximation as compared to the logarithmic integral,
at the range of
. Nevertheless, the approximation error of the proposed function,
reduces as
. Further analysis is then carried out by varying the exponent of
in the proposed function,
:
The results of the error comparisons,
(%) for
(where the
(%) is at is lowest), is given in
Figure 2:
In
Figure 2, it can be observed that, at
, the
(%) of the function
is lower than
from
. For
, the
(%) of the function
grows in contrast to that of
. This trend holds for various values of
in this analysis. For
, the
(%) of the function
closely follows the that of the
for
and then increases for higher values of
, where it stabilizes to
with an increasing
. For
and
, the
(%) of the function
closely follows the that of the
at
and
respectively. When
, the
(%) is reduced for a larger range
before growing again to stabilize at
with an increasing
. At
, the
(%) is reduced all the way as
. Observing the general trend of
values, it is highly probable that, at
, the
(%) would also be reduced up to a limit (at some value of
). Therefore, the function
at
most accurately approximates the number of primes lesser than
as compared to other values of
. In this numerical experiment, it can be stated that the accuracy of the function
in estimating primes is limited to specific ranges of the magnitude,
. It is also important to note that, although
(%) grows after some specific limit,
remains bounded to an upper limit of
as
for all values of
.
Further numerical analysis was also performed to determine the error,
(%), between the proposed function
at
and the logarithmic integral
for approximating the number of primes lesser that the magnitude
using the following relation:
Figure 3 shows the error,
(%), between the proposed function
and the logarithmic integral
for
:
Figure 3 shows that, at very large values of
, the proposed function approaches the linear integral with an error range of <1%:
4. Conclusions & Future Work
In this work, a novel approximation function, is introduced as an alterntive to the logarithmic integral, to estimate the number of primes lesser than a given magnitude. The following are the main results of this work:
An analytical investigation involving reveals new representations of the Chebyshev function, prime number theorem, gamma function, and Riemann zeta function.
Computational studies show that at with a relative error of —making it a very attractive alternative function for approximating primes.
In future research works, further analytical and numerical explorations involving the function
could provide further insights into the distribution of very large primes [
8,
9]. The functions
,
and
may also provide researchers with an alternative approach to tackle problems in analytical number theory. One example for this is given in Theorem 3, where it can be seen that it is possible for the Riemann zeta function,
to take on real values as well as complex values depending on the parameter,
. Research in this direction could offer deeper insights into the structure of the Riemann zeta function.