Abstract
The arithmetic average of the first n primes, , exhibits very many interesting and subtle properties. Since the transformation from is extremely easy to invert, , it is clear that these two sequences must ultimately carry exactly the same information. But the averaged sequence , while very closely correlated with the primes, (), is much “smoother” and much better behaved. Using extensions of various standard results, I shall demonstrate that the prime-averaged sequence satisfies prime-averaged analogues of the Cramer, Andrica, Legendre, Oppermann, Brocard, Fourges, Firoozbakht, Nicholson, and Farhadian conjectures. (So these prime-averaged analogues are not conjectures; they are theorems). The crucial key to enabling this pleasant behaviour is the “smoothing” process inherent in averaging. While the asymptotic behaviour of the two sequences is very closely correlated, the local fluctuations are quite different.
Keywords:
the n-th prime pn; average of the first n primes; prime-averaged conjectures; Cramer; Andrica; Legendre; Oppermann; Brocard; Fourges; Firoozbakht; Nicholson; Farhadian MSC:
11A41; 11N05; 11N80
1. Introduction and Background
Consider the average of the first n primes
Explicitly
Quite a lot is already known about this sequence [1,2,3,4,5,6,7,8,9]. For instance the asymptotic behaviour is known to be (OEIS A034387 [1])
More precisely (Dusart [2])
Several higher-order terms in the asymptotic expansion are also known [2,3,4,5,6] but are not of direct relevance to the present discussion.
Various other explicit upper and lower bounds are also known (Mandl [7], OEIS A351914 [8], Hassani [3], Dusart [2])
Herein, I wish to take the discussion in a rather different direction.
Since , these two sequences are very closely correlated. Furthermore, since the relation is easily invertible to , these two sequences ultimately carry completely identical information. Nevertheless, as discussed below, the two sequences also exhibit profound differences.
Specifically, I shall demonstrate below that the prime-averaged sequence satisfies suitably formulated prime-averaged analogues of the usual Cramer, Andrica, Legendre, Oppermann, Brocard, Fourges, Firoozbakht, Nicholson, and Farhadian conjectures. (So these prime-averaged analogues are not conjectures; they are theorems). The crucial observation enabling this pleasant behaviour is the “smoothing” process inherent in averaging. We shall soon see that the prime-averaged gaps are in a suitable sense extremely small. On the other hand, while the asymptotic behaviour of the two sequences is very tightly correlated, we shall see that the fluctuations are quite different.
2. Standard and Easy Results
In this section I will introduce a few basic tools (Rosser [10], Rosser–Schoenfeld [11]):
It is sometimes useful to note
Consequently
Lemma 1.
Still easy (but perhaps somewhat less well known) is the first slightly non-trivial (post Bertrand–Chebyshev) bound on the n-th prime gap:
Proof.
Rosser and Schoenfeld [11] give for . Thence, (checking small values of x by explicit computation), for . But then for . By evaluating at , just below the prime, we also see for . Thence by the triangle inequality , certainly for all integers . Checking lower integers by explicit computation, for . ☐
Note that this in turn implies
For another lower bound on note
We now bound this sum by the integral
with this final inequality holding for .
Finally, we shall also have occasion to use (Dusart [12])
and (Dusart [12])
3. Counting the Averaged Primes
Define
This counts the averaged-primes . (I emphasize that here we are counting the averaged-primes, not averaging the count of primes. That would instead be something akin to , a rather different quantity).
- From we see , and so for we have . In terms of the average-prime counting function, this impliesExplicitly checking smaller values of x this saturates the domain of validity.
- From we see whence for (implying ) we have the following:Explicitly checking smaller values of x this saturates the domain of validity.
4. Bounding the Gaps in the Averaged Primes
First note that
In view of Mandl’s inequality ( for , see [7,8]), that last term is definitely positive, and the sequence is monotone increasing. Let us define the gap in the averages as
While the average primes are monotone increasing, the gaps in the averages have no nice monotonicity properties.
(I emphasise, is the gap in the averages, not the averages of the gaps — that would instead be
a quantity interesting in its own right, but for totally different reasons).
For the gap in the averages we have
with the inequality holding for . Rearranging
that is
Within the domain of validity of this inequality, the quantity in braces is monotone decreasing (but always exceeds unity) and, searching for a value of n such that quantity in braces drops below 2, we certainly have for . Explicitly checking the smaller integers, one finds
In the other direction
Thence, since the quantity in braces always exceeds unity, we see
Overall we have rather good upper and lower bounds
Indeed, from this we see and consequently . This extremely rapid falloff in the size of the relative gaps in the averaged primes is ultimately the key observation underlying the computations below.
To be more explicit, for we certainly have
By somewhat rearranging and tightening the discussion, from (23) we have
Now this last quantity is less than 2 for . Thence certainly
Explicitly checking smaller integers we have the stronger result
In the other direction, for we have
which is bounded below by
Explicitly checking smaller integers
A slightly tidier summary of these results comes from noting
We shall re-use these bounds several times in the discussion below.
5. Prime-Average Analogues of Some Standard Conjectures
Given the rather tight bound on the prime-average gaps derived above, it is now in very many cases relatively easy to formulate provable prime-average analogues of various standard conjectures. (Often the only major difficulty lies in designing and formulating a suitable analogue). Below I present a few examples.
5.1. Prime-Average Analogue of Cramer
The ordinary Cramer conjecture is the hypothesis that the ordinary prime gaps satisfy . The prime-average analogue would be . But since we have and . So the prime-average analogue of Cramer would be tantamount to making the claim . But since we have already proved the very much stronger result that , this is a triviality.
5.2. Prime-Average Analogue of Andrica
The ordinary Andrica conjecture is the hypothesis that the ordinary primes satisfy . The prime-average analogue would be that the averaged primes satisfy . But this is easily checked to be true and in fact much more can be said.
Using our previous results we compute (for )
That is
But for (implying ) the quantity in braces lies in the range , and so in this range
Explicitly checking , in fact we see
Note this is asymptotically much stronger than just a constant bound, and we could replace it with a considerably weaker statement with a slightly greater range of validity
So the prime-average analogue of Andrica is unassailably true.
5.3. Prime-Average Analogue of Legendre
The ordinary Legendre conjecture is the hypothesis that the ordinary primes satisfy for integer . The most naive prime-average analogue would be that the averaged primes satisfy for integer . But this is easily checked to be true and in fact much more can be said.
Recall
Let , then by definition is the largest prime-average below , and is the smallest prime-average above . But then, using our previous results, for integer corresponding to , we have
Thence, since is certainly (very much) less than , and , we certainly have the (extremely crude) bound
(This crude bound could also be derived directly from the analogue Andrica discussion above). This bound is more than sufficient to prove the prime-average version of Legendre for , though it is clear that the argument can be very considerably tightened. In particular, it is easy to check that
Consequently, comparing with
we explicitly see that
That is, the prime-average version of Legendre actually holds for integer .
Furthermore, the argument above nowhere explicitly uses the fact that m need be an integer — so the prime-average version of Legendre actually holds for real . Finally to check real range use a suitable finite truncation of the sum
Thereby one verifies that the prime-average version of Legendre certainly holds for real . (Actually is sufficient).
For another way of extending the argument above, consider this: If we were to define , then the average-prime gaps below would be at most of size and so
Thence for , certainly for , we have
Expanding the logarithm
Ultimately, for we certainly have
Sacrificing a little precision in the interests of a slightly wider range of validity, for we have
So there will be many average-primes between consecutive squares.
5.4. Prime-Average Analogue of Oppermann
The ordinary Oppermann conjecture is the hypothesis that the ordinary primes satisfy for integer . This is completely equivalent to demanding that .
Then the most compelling prime-average analogue of Oppermann would be that the averaged primes satisfy . But (adapting the argument presented above for Legendre) this is easily checked to be true, and in fact much more can be said.
Let , then for integer corresponding to we still have
Thence
It is easy to check that for small integers m this continues to hold for . (For real values of m the domain of validity is ).
Similarly let , then through an entirely analogous argument
Thence
It is easy to check that for small integers m this continues to hold for . (For real values of m the domain of validity is ).
So the prime-average analogue of Opperman is unassailably true for real .
5.5. Prime-Average Analogue of Brocard
The ordinary Brocard conjecture is the hypothesis that the ordinary primes satisfy for . Note that the ordinary Brocard conjecture is implied by the ordinary Oppermann conjecture. Note that and that ordinary Oppermann implies the existence of at least one prime in each of the four regions
Generalizing this, the ordinary Oppermann conjecture implies a generalization of the ordinary Brocard conjecture
Then the most compelling prime-average analogue of Brocard would be that the averaged primes satisfy for suitable values of n. But (adapting the argument presented above for Legendre) this is easily checked to be true, and in fact much more can be said.
Write and use prime-average analogue of Oppermann. Then
But for so
So certainly
Noting that , to complete the analysis it suffices to explicitly check the first 55 average primes. Then
So certainly the prime-average analogue of Brocard holds over a suitable range.
5.6. Prime-Average Analogue of Firoozbakht
The ordinary Firoozbakht conjecture is the hypothesis that the quantity is monotone decreasing for the ordinary primes . The prime-average analogue of Firoozbakht would be the hypothesis that is monotone decreasing for the averaged primes . But this is easily checked to be true (see for instance reference [9]) and in fact much more can be said.
Note
So let us compute
This quantity is certainly less than
which clearly becomes negative for , that is, for . Checking by direct computation shows that for all , so the prime-average analogue of Firoozbakht is unassailably true for all .
5.7. Prime-Average Analogue of Fourges
The ordinary Fourges conjecture is typically presented in terms of first rearranging the ordinary Firoozbakht conjecture into the form
and then weakening it by making the less restrictive demand that
To obtain a prime-average analogue of the Fourges conjecture we first rearrange the prime-average analogue Firoozbakht conjecture into the form
and then weaken it by making the less restrictive demand that
Since this is a weakening, the prime-average analogue of Fourges is unassailably true for all .
5.8. Prime-Average Analogue of Nicholson
The ordinary Nicholson conjecture is typically presented in terms of first rearranging the ordinary Firoozbakht conjecture into the form
and then (slightly) strengthening it by making the more restrictive demand that
To obtain a prime-average analogue of the Nicholson conjecture we first rearrange the prime-average analogue Firoozbakht conjecture into the form
and then, noting , with the final inequality holding for , (slightly) strengthen it by making the more restrictive demand that
for some yet to be determined. That is, our proposed form of the prime-average analogue of Nicholson is equivalent to
Since
with the inequalities holding for , we see that our proposed version of the prime-average analogue of the Nicholson conjecture will plausibly hold whenever
that is, whenever , and so will certainly hold for all . Finally, explicitly checking all integers below 20 we have an explicit prime-average analogue of Nicholson:
5.9. Prime-Average Analogue of Farhadian
The ordinary Farhadian conjecture is typically presented in terms of (slightly) strengthening the ordinary Nicholson conjecture by making the even more restrictive demand that
To obtain a prime-average analogue of the Farhadian conjecture we again (slightly) strengthen the prime-average analogue of Nicholson conjecture by making some (slightly) more restrictive demand. There is a potential infinity of stronger demands that one might make, but we shall try to keep close to the spirit of the original Farhadian conjecture by demanding
Since for this certainly strengthens the prime-average analogue of Nicholson.
This would be equivalent to
As previously noted
with these inequalities holding for .
This now suggests we consider the inequality
which holds for (though the original weakening to get to prime-average analogue Nicholson holds only for ). Explicitly checking small integers
Equivalently
As expected, because the prime-average analogue of Farhadian is slightly stronger than the prime-average analogue of Nicholson, it is valid only on a slightly smaller domain.
6. Discussion
We have explicitly seen above that the averaged primes satisfy suitably defined averaged-prime analogues of the Cramer, Andrica, Legendre, Oppermann, Fourges, Firoozbakht, Nicholson, and Farhadian hypotheses. The key step in all cases was the extremely tight bound in the averaged-prime gaps: for . The only (relatively minor) potential difficulty lies in the design and formulation of truly compelling prime-average analogues of these hypotheses.
On the other hand, what does this tell us about the ordinary primes ?
- Not as much as one might hope. We certainly have the identity
Funding
This research received no external funding.
Data Availability Statement
All relevant data is explicitly contained within this article.
Conflicts of Interest
The author declares no conflicts of interest.
References
- OEIS Sequence A034387. Sum of Primes ≤ n. Available online: https://oeis.org/A034387 (accessed on 13 July 2025).
- Dusart, P. Autour de la Fonction qui Compte le Nombre de Nombres Premiers. Ph.D. Thesis, Universite de Limoges, Limoges, France, 1998. [Google Scholar]
- Hassani, M. A remark on the Mandl’s inequality. Octogon Math. Mag. 2007, 15, 567–572. [Google Scholar]
- Sinha, N.K. On the asymptotic expansion of the sum of the first n primes. arXiv 2010, arXiv:1011.1667. [Google Scholar]
- Axler, C. On the sum of the first n prime numbers. J. Théor. Nombres 2019, 31, 293–311. [Google Scholar] [CrossRef]
- Axler, C. New bounds for the sum of the first n prime numbers. arXiv 2016, arXiv:1606.06874. [Google Scholar] [CrossRef]
- Mandl, R. On the sum and the average of the first primes. Not. Am. Math. Soc. 1974, 21, A54–A55. [Google Scholar]
- OEIS Sequence A351914. Numbers m Such That the Average of the Prime Numbers up to m Is Greater Than or Equal to m/2. Available online: https://oeis.org/A351914 (accessed on 13 July 2025).
- Sun, Z.-W. On a sequence involving sums of primes. Bull. Aust. Math. Soc. 2013, 88, 197–205. [Google Scholar] [CrossRef]
- Rosser, J.B. The n-th Prime is Greater than n log n. Proc. Lond. Math. Soc. 1939, 45, 21–44. [Google Scholar] [CrossRef]
- Rosser, J.B.; Schoenfeld, L. Approximate formulas for some functions of prime numbers. Ill. J. Math. 1962, 6, 64–94. [Google Scholar] [CrossRef]
- Dusart, P. Explicit estimates of some functions over primes. Ramanujan J. 2018, 45, 227–251. [Google Scholar] [CrossRef]
- Visser, M. Verifying the Firoozbakht, Nicholson, and Farhadian Conjectures up to the 81st Maximal Prime Gap. Mathematics 2019, 7, 691. [Google Scholar] [CrossRef]
- Visser, M. Strong Version of Andrica’s Conjecture. Int. Math. Forum 2019, 14, 181–188. [Google Scholar] [CrossRef]
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. |
© 2025 by the author. 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 (https://creativecommons.org/licenses/by/4.0/).