login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050238 Starting positions of strings of 2 5's in the decimal expansion of Pi. 1

%I #16 Jan 09 2015 08:24:41

%S 130,177,178,315,809,914,1101,1139,1169,1232,1233,1256,1362,1450,1451,

%T 1499,1517,1570,1663,1725,1744,2090,2216,2222,2359,2360,2481,2622,

%U 2674,2675,3016,3047,3204,3304,3554,3579,3588,3895,4003,4016,4072

%N Starting positions of strings of 2 5's in the decimal expansion of Pi.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PiDigits.html">Pi Digits</a>

%H <a href="/index/Ph#Pi314">Index entries for sequences related to the number Pi</a>

%t q=8!;z=5;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_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 14:32 EDT 2024. Contains 371914 sequences. (Running on oeis4.)