OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Pi Digits
MATHEMATICA
q=8!; z=4; a=RealDigits[Pi, 10, q]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; If[b==z&&c==z, AppendTo[lst, n-1]], {n, q-1}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 19 2009 *)
Flatten[Position[Partition[Rest[RealDigits[Pi, 10, 5000][[1]]], 2, 1], _? (#=={4, 4}&)]] (* Harvey P. Dale, Jul 20 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved