%I #14 Jan 09 2015 08:26:14
%S 34,204,317,322,372,472,848,868,931,1023,1141,1194,1469,1537,1753,
%T 1778,1822,1868,2167,2299,2384,2421,2464,2529,2655,3028,3164,3366,
%U 3470,3559,3683,3763,4104,4285,4610,4751,4752,4753,4985,4986,5154
%N Starting positions of strings of 2 8's in the decimal expansion of Pi.
%H <a href="/index/Ph#Pi314">Index entries for sequences related to the number Pi</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PiDigits.html">Pi Digits</a>
%t 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 *)
%K nonn,base
%O 1,1
%A _Eric W. Weisstein_
|