Published March 11, 2026 | Version v1
Preprint Open

L'ORDRE DE BENFORD, UN PAS VERS UN ORDRE CACHE DANS LES NOMBRES PREMIERS

  • 1. Universite de Toulouse

Description

BENFORD'S ORDER, A STEP TOWARDS A HIDDEN ORDER FOR PRIMES - One might intuitively assume that the value of the first significant digit of a number chosen at random from a sequence of numerical data (such as supermarket product prices, river lengths, or distances between galaxies) is evenly distributed between 1 and 9. However, this is a cognitive bias (more precisely, an equiprobability bias) because Newcomb-Benford's law, or the first digit law, or more commonly known as Benford's law, reveals a completely different and largely uneven distribution. This law describes in particular a strictly decreasing order (the reverse natural order of the digits from 1 to 9) with regard to the probability of occurrence of this first digit; we will call it Benford's order, distinguishing it clearly from the eponymous law.As early as 1881, American astronomer S. Newcomb ([1]) presented his empirical observations on a list of numbers such as those found on the used pages of a common logarithm table: for the probabilities of occurrence of the first significant digit, he obtained a descending order from 1 to 9; he also gave those of the second digit in descending order from 0 to 9. Confirmed by American engineer F. Benford ([2]) in 1938, the occurrence of the first significant digit in a statistical distribution of numbers approximately follows a logarithmic law and decreases from 1 as the digit increases. The quantitative aspect of this law ([1], [2], [8], [9]) stipulates that about 30% of numbers begin with a 1, while less than 5% begin with a 9.Valid for many sequences of numbers (any statistical data, such as stock prices, exchange rates, but also for sequences of factorials or Fibonacci numbers), this phenomenological law also serves as a detector of tax, electoral, or other fraud. However, it does not hold true for sequences of integers or primes. Since Newcomb and Benford's findings, several authors have considered the problem of the initial digit in the case of primes ([3], [4], [5], [6], [7]), observing that if the probability that a random integer chosen from a list of numerical data has a certain c as its first digit is expressed, in base b, by the logarithmic density logb(1 + 1/c), which translates in base 10 by Benford's descending order from 1 to 9, the same is not true for the natural density of primes. We propose to continue this reflection with the help of systematic numerical experiments for various families of primes, defining them by their initial digit, by the absence of a certain digit, by the mandatory presence of a certain digit, by their second digit, by their third digit, or by their terminal digit. Our aim will be to determine whether there are families of primes that satisfy Benford's order for a certain characteristic digit of the family, and what order, if any, is satisfied by other families.If the natural density of primes is not expressed in the logarithmic form of Benford's law, we will see that, as soon as we place ourselves in an interval I(r) = [2, M = 10r] with r sufficiently large but finite, several subsets of primes satisfy Benford's order (or even the complete Benford's order from 0 to 9) with respect to a certain characteristic digit c, then tend to equiprobability for all values of c as r approaches infinity.Finally, by ranking the primes according to the m digits (m > 0) that begin their decimal expression, i.e., by their initial integer, the results obtained will make it possible to define a hidden order among the primes that generalizes Benford's order.The numerical results presented were obtained primarily using PARI/GP software, which is particularly well suited to our calculations.- 

Files

fbenfordz.pdf

Files (241.6 kB)

Name Size Download all
md5:38ac28c54d22651952a78c2a788ce833
241.6 kB Preview Download

Additional details

Dates

Available
2026-03-11

References

  • [1] S. Newcomb, Note on the Frequency of Use of the Different Digits in Natural Numbers, Journal américain de mathématiques, Vol. 4, n° 1, pp. 39-40, (https://doi.org/10.2307/2369148), 1881.[2] F. Benford, The law of anomalous numbes, Proceedings of the American Philosophical Society, Vol. 78, No. 4, pp. 551-572, (https://www.jstor.org/stable/984802), 1938.[3] G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, Oxford, 1960. [4] B. J. Flehinger, On the Probability that a Random Integer has Initial Digit A , Amer. Math. Monthly, 73, pp. 1056-1061, 1966. [5] H. Halberstam and K. F. Roth, Sequences, Vol. 1, Oxford, 1966. [6] R.L. Duncan, Remarque sur le problème du chiffre initial, pp.474-475, (https://fq.math.ca/Scanned/7-5/duncan.pdf), 1969.[7] R.E. Whitney. Chiffres initiaux de la suite de nombres premiers. The American Mathematical Monthly, vol. 79, n° 2, p. 150–152, (https://www.tandfonline.com/doi/abs/10.1080/00029890.1972.11993008), 1972.[8] Theodore P. Hill, A statistical derivation of the significant-digit law, Statistical Science, 10, n°4, pp. 354-363, 1995.[9] Theodore P. Hill, The first digit phenomenon, Amer. Sci, 86, pp. 358-363, 1998.[10] J. Maynard, Nombres premiers à chiffres restreints, Invent. math. 217, 127–218, Primes with restricted digits , 2019. [11] R. L. Clerc, Nombres premiers à peu de chiffres non nuls, C11S.php, 2025. [12] R. L. Clerc, Nombres premiers primaires et nombres premiers secondaires, prprs.php, 2025[OEIS1] Primes not containing the digit '0', Zak Seidov, https://oeis.org/A038618 , 2015. [OEIS2] Naught-y primes, primes with noughts (or zeros)., Robert G. Wilson, https://oeis.org/A056709, 2000.