OFFSET
1,2
COMMENTS
Conjecture: The digit proportions of an initial segment of the decimal expansion of Pi can get arbitrarily close to, but not equal to, the uniform distribution. This implies that there are infinitely many terms in this sequence and in the related sequences A394264 and A394265.
The corresponding sequences for bases 2, 3, 4, and 5 are finite, because each digit occurs equally many times among the first 4, 15, 4, and 75 digits of Pi in base 2 (see A039624), 3 (see A278977, A278978, and A278979), 4, and 5 respectively:
base 2: 1, 3, 4;
base 3: 1, 2, 6, 7, 11, 12, 13, 14, 15;
base 4: 1, 2, 3, 4;
base 5: 1, 2, 4, 8, 9, 11, 18, 19, 20, 21, 22, 26, 27, 28, 30, 41, 43, 46, 47, 53, 54, 56, 66, 67, 68, 74, 75.
LINKS
Pontus von Brömssen, Table of n, a(n) for n = 1..20000
EXAMPLE
| | frequencies f_i of 0-9 in first a(n) digits |
n | a(n) | 0 1 2 3 4 5 6 7 8 9 | Sum (f_i/a(n)-1/10)^2
---+------+---------------------------------------------+-----------------------
1 | 1 | 0 0 0 1 0 0 0 0 0 0 | 9/10 = 0.9
2 | 2 | 0 1 0 1 0 0 0 0 0 0 | 2/5 = 0.4
3 | 3 | 0 1 0 1 1 0 0 0 0 0 | 7/30 = 0.233333...
4 | 5 | 0 2 0 1 1 1 0 0 0 0 | 9/50 = 0.18
5 | 6 | 0 2 0 1 1 1 0 0 0 1 | 11/90 = 0.122222...
6 | 7 | 0 2 1 1 1 1 0 0 0 1 | 41/490 = 0.083673...
7 | 8 | 0 2 1 1 1 1 1 0 0 1 | 9/160 = 0.05625
8 | 12 | 0 2 1 2 1 3 1 0 1 1 | 19/360 = 0.052777...
9 | 13 | 0 2 1 2 1 3 1 0 1 2 | 81/1690 = 0.047928...
10 | 14 | 0 2 1 2 1 3 1 1 1 2 | 8/245 = 0.032653...
11 | 20 | 0 2 2 4 2 3 1 1 2 3 | 3/100 = 0.03
12 | 21 | 0 2 2 4 2 3 2 1 2 3 | 109/4410 = 0.024716...
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Pontus von Brömssen, Mar 14 2026
STATUS
approved
