Professional Documents
Culture Documents
Decimal Digits of π
P. Trueb
DECTRIS Ltd., Baden-Dättwil, Switzerland,
I. INTRODUCTION
For a number to be normal in base b, every sequence of k consecutive digits has to appear with a
limiting frequency of b-k in the numbers’ base-b representation. It is supposed that π is normal in
any base, but a proof is still lacking [1]. As a consequence, new record computations of π are often
used to perform empirical consistency checks for the normality of π [2]. Recently a new world
record computation has been performed with the y-cruncher code [3]. This computation
encompasses 22’459’157’718’361 decimal and 18’651’926’753’033 hexadecimal digits [4],
adding about 70% more digits to the former record.
II. RESULTS
Figures 1 to 6 show the distributions of the frequencies of all sequences up to length 3 in the
decimal and hexadecimal representations of π. The red and blue regions show the expected one
and two standard deviation bands around the limiting frequency b-k assuming the occurrences of
the sequences to follow a binomial distribution. All distributions show no significant irregularities.
In particular there is no observed frequency deviating more than four standard deviations from the
expected frequency. The expected and observed variances of the frequency distributions are listed
in Table 1. All observed variances match the expected values, the maximum deviation amounting
to 1.33 standard deviations.
Entries 10 Entries 100
Number of Sequences
Number of Sequences
Mean 1.000e−01 Mean 1.000e−02
1 4 Variance 4.943e−16
Variance 4.967e−15
3.5
0.8
3
2.5
0.6
2
0.4 1.5
1
0.2
0.5
−3
0 0 ×10
0.0999998 0.1 0.1000002 9.99995 10 10.00005
Frequency Frequency
Number of Sequences
Mean 1.000e−03 2 Mean 6.250e−02
Variance 4.184e−17 Variance 3.179e−15
25 1.8
1.6
20 1.4
1.2
15
1
0.8
10
0.6
5 0.4
0.2
−3
0 ×10 ×10
−3
0.99998 1 1.00002 0
62.4998 62.4999 62.5 62.5001 62.5002
Frequency Frequency
Number of Sequences
6 60
5 50
4 40
3 30
2 20
1 10
−3 −3
0 ×10 ×10
3.9062 3.90625 3.9063 0
0.24413 0.24414 0.24415
Frequency Frequency
III. CONCLUSIONS
The frequencies of all sequences up to length 3 in the first 22’459’157’718’361 decimal and
18’651’926’753’033 hexadecimal digits of π are found to be consistent with the hypothesis of π
being a normal number in base 10 and base 16.
REFERENCES
[1] Sevcik, C. (2016), ‘Fractal analysis of Pi normality’, arXiv:1608.00430.
[2] Bailey, D. H. et al (2012), ‘An Empirical Approach to the Normality of π’, Experimental Mathematics 21(4).
[3] Yee, A. J. and Kondo, S. (2013), ‘12.1 trillion digits of Pi. And we’re out of disk space...’,
http://www.numberworld.org/misc_runs/pi-12t.
[4] Trueb, P. (2016) ‘πe trillion digits of π’, http://www.pi2e.ch,
https://www.dectris.com/successstories.html#success_pi.