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!)
A050272 Starting positions of strings of 2 9's in the decimal expansion of Pi. 1

%I #16 Dec 27 2015 10:39:54

%S 44,79,459,705,747,762,763,764,765,766,777,1063,1073,1385,1395,1428,

%T 1477,1532,1730,1981,2000,2071,2114,2218,2241,2285,2335,2436,2644,

%U 2796,2910,2949,2950,3089,3217,3294,3508,3564,3570,3673,3678,3710

%N Starting positions of strings of 2 9'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=9;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 *)

%t Transpose[SequencePosition[RealDigits[Pi,10,4000][[1]],{9,9}]][[1]]-1 (* The program uses the SequencePosition function from Mathematica version 10 *) (* _Harvey P. Dale_, Dec 27 2015 *)

%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 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)