|
|
A083604
|
|
Starting positions of strings of six 1's in the decimal expansion of Pi.
|
|
3
|
|
|
255945, 2645268, 3218870, 4657555, 4657556, 5130874, 5425806, 5961931, 6653783, 9036112, 11867965, 13249047, 13255651, 15684440, 18548887, 20316848, 22107705, 22564362, 23503699, 28388441, 28580580, 29435972, 30584158, 31678241
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
$MaxPrecision=10^8; a=RealDigits[Pi, 10, 8*9! ]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; d=a[[1]][[n+2]]; e=a[[1]][[n+3]]; f=a[[1]][[n+4]]; g=a[[1]][[n+5]]; If[b==1&&c==1&&d==1&&e==1&&f==1&&g==1, AppendTo[lst, n-1]], {n, 2*8!, 8*9!-5}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 07 2009 *)
SequencePosition[RealDigits[Pi, 10, 32*10^6][[1]], {1, 1, 1, 1, 1, 1}][[All, 1]]-1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 04 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|