login
A096567
First digit to appear n times in the base-10 expansion of Pi.
16
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,1
COMMENTS
The number 7 finally appears as a(32344). - T. D. Noe, Sep 13 2012
The number 6 appears for the first time as a(99032274). - Kester Habermann, Feb 01 2021
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)
EXAMPLE
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
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 *)
KEYWORD
base,nonn
AUTHOR
Matthew Vandermast, Jun 26 2004
EXTENSIONS
More terms from David Wasserman, Nov 16 2007
STATUS
approved