174
Views
2
CrossRef citations to date
0
Altmetric
Original Articles

Leading Digits of Mersenne Numbers

, , , &
 

Abstract

It has long been known that sequences such as the powers of 2 and the factorials satisfy Benford’s Law; that is, leading digits in these sequences occur with frequencies given by P(d)=log10(1+1/d), d=1,2,,9. In this article, we consider the leading digits of the Mersenne numbers Mn=2pn1, where pn is the n-th prime. In light of known irregularities in the distribution of primes, one might expect that the leading digit sequence of {Mn} has worse distribution properties than “smooth” sequences with similar rates of growth, such as {2nlogn}. Surprisingly, the opposite seems to be true; indeed, we present data, based on the first billion terms of the sequence {Mn}, showing that leading digits of Mersenne numbers behave in many respects more regularly than those in the above smooth sequences. We state several conjectures to this effect, and we provide an heuristic explanation for the observed phenomena based on classic models for the distribution of primes.

1991 MATHEMATICS SUBJECT CLASSIFICATION:

Acknowledgments

We thank the referees for a careful reading of the paper and a number of comments that helped improve the paper.

Notes

1 In general, for sequences of the form {an} the quality of the agreement between the actual and predicted leading digit counts is related to diophantine approximation properties of the number log10a (see Proposition 4.2 below and [Kuipers and Niederreiter 74, Chapter 2, Theorem 3.2]), but it is also affected by any linear relations between the numbers log10a and log10d,d=1,2,,9. For the sequence {2n}, the latter aspect comes into play and accounts in part for the small errors observed in Table 1; see [CitationCai, Faust et al. 18].

2 We emphasize that we do not require Mn to be prime, but we do require the exponent, pn, to be prime. In other words, the sequence {Mn} is the sequence of candidates for Mersenne primes.

3 That the digit 1 waiting times for the sequence {2n} are either 3 or 4 is easy to see by tracking leading digits after successive multiplications by 2; for the other three sequences, however, the set of possible values of the waiting times seems to have a much more complicated structure.

4 This result could also be derived from [CitationCai, Hildebrand et al. in press, Theorem 2.8], a general result on the local Benford distribution properties of a large class of arithmetic sequences. We present here an elementary argument that does not depend on the theory of uniform distribution modulo 1 and which suffices to obtain the assertions of the theorem.

5 Note that the conditions (2.9) and (2.10) of the theorem are independent of the base of the logarithm chosen in the definition of the Δ operator. For our proof it is convenient to work with base 10 logarithms instead of natural logarithms, so we have defined un in terms of the base 10 logarithm.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.