|
|
A083615
|
|
Starting positions of strings of three 4's in the decimal expansion of Pi.
|
|
1
|
|
|
2707, 2928, 3476, 3809, 3866, 4175, 4923, 5290, 5675, 6327, 6346, 9384, 9445, 13565, 18912, 21929, 23157, 23223, 25937, 26531, 27887, 28220, 28872, 34587, 35496, 36878, 37072, 37758, 37989, 39388, 39826, 42220, 42424, 45136, 45796, 46495
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
q=9!; z=4; a=RealDigits[Pi, 10, q]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; d=a[[1]][[n+2]]; If[b==z&&c==z&&d==z, AppendTo[lst, n-1]], {n, q-2}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 19 2009 *)
With[{p=Partition[RealDigits[Pi, 10, 50000][[1]], 3, 1]}, Flatten[Position[ p, _?(# == {4, 4, 4}&)]]-1] (* Harvey P. Dale, Nov 22 2014 *)
SequencePosition[RealDigits[Pi, 10, 50000][[1]], {4, 4, 4}][[All, 1]]-1 (* Harvey P. Dale, Apr 11 2022 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|