OFFSET
1,1
COMMENTS
Are the digits uniformly distributed? Are all consecutive digit subsequences uniformly distributed?
FORMULA
a(n) = the (n+a(1)+a(2)+...+a(n-1))-th digit in the decimal expansion of Pi.
EXAMPLE
The sequence starts with the first digit of the decimal expansion of Pi, which is 3. The next term is the digit 3+1 places after this, namely, 5, and so on.
The digits selected from Pi begin
Pi = 3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9, 7, 9, 3, 2, 3, 8, 4, ...
^ ^ ^ ^ ^
MATHEMATICA
a={3}; s=1; For[n=2, n<=100, n++, s+=1+Part[a, n-1]; digits=First[RealDigits[Pi, 10, s]]; AppendTo[a, Part[digits, s]]]; a
CROSSREFS
KEYWORD
AUTHOR
Karl Levy, May 31 2024
STATUS
approved