OFFSET
1,1
LINKS
Dave Andersen, Pi-Search Page
Eric Weisstein's World of Mathematics, Pi Digits.
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
Rick L. Shepherd, May 02 2003
STATUS
approved