A050263 Starting positions of strings of 2 8's in the decimal expansion of Pi.
34, 204, 317, 322, 372, 472, 848, 868, 931, 1023, 1141, 1194, 1469, 1537, 1753, 1778, 1822, 1868, 2167, 2299, 2384, 2421, 2464, 2529, 2655, 3028, 3164, 3366, 3470, 3559, 3683, 3763, 4104, 4285, 4610, 4751, 4752, 4753, 4985, 4986, 5154
Offset: 1
Links
- Index entries for sequences related to the number Pi
- Eric Weisstein's World of Mathematics, Pi Digits
Programs
-
Mathematica
q=8!;z=8;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 *)