login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A049520
Starting index of a string of exactly 4 consecutive equal digits in decimal expansion of Pi.
6
1590, 4752, 4903, 5242, 5323, 5864, 7965, 12487, 12701, 13391, 16733, 17989, 19438, 21881, 22754, 29505, 29869, 30797, 31901, 32428, 32479, 33108, 33173, 35458, 37231, 37323, 40793, 42096, 43155, 43406, 43524, 46513, 48666, 49056
OFFSET
0,1
COMMENTS
Digits 3,1,4,... are indexed 1,2,3,...
MATHEMATICA
Flatten[Position[Partition[RealDigits[Pi, 10, 50000][[1]], 6, 1], _?(Union[ Differences[Most[Rest[#]]]]=={0}&&First[Differences[#]]!=0 && Last[ Differences[#]]!=0&), {1}, Heads->False]]+1 (* Harvey P. Dale, Jun 02 2014 *)
CROSSREFS
KEYWORD
nonn,base
STATUS
approved