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