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 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Matthew Vandermast, Jun 26 2004
EXTENSIONS
More terms from David Wasserman, Nov 16 2007
STATUS
approved