A096567 First digit to appear n times in the base-10 expansion of Pi.
3, 1, 5, 3, 3, 3, 3, 3, 3, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 2, 8, 8, 8, 8, 8, 8, 8, 8, 8, 4, 4, 4, 4, 4, 4, 8, 2, 2, 8, 2, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1
Examples
a(3) = 5 because 5 is the first digit to appear 3 times in the decimal expansion of Pi = 3.141(5)926(5)3(5)... - _Bobby Jacobs_, Aug 30 2017
Links
- Jianing Song, Table of n, a(n) for n = 1..32373 (added to include the first occurrences of 0 and 7, first 10000 terms from T. D. Noe)
Crossrefs
Programs
-
Mathematica
nn = 1000; t = {}; d = RealDigits[Pi, 10, nn][[1]]; dCnt = Table[0, {10}]; cnt = 1; Do[b = ++dCnt[[1 + d[[n]]]]; If[b == cnt, AppendTo[t, d[[n]]]; cnt++], {n, nn}]; t (* T. D. Noe, Sep 13 2012 *)
Extensions
More terms from David Wasserman, Nov 16 2007
Comments