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

 


A083604
Starting positions of strings of six 1's in the decimal expansion of Pi.
3
255945, 2645268, 3218870, 4657555, 4657556, 5130874, 5425806, 5961931, 6653783, 9036112, 11867965, 13249047, 13255651, 15684440, 18548887, 20316848, 22107705, 22564362, 23503699, 28388441, 28580580, 29435972, 30584158, 31678241
OFFSET
1,1
MATHEMATICA
$MaxPrecision=10^8; a=RealDigits[Pi, 10, 8*9! ]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; d=a[[1]][[n+2]]; e=a[[1]][[n+3]]; f=a[[1]][[n+4]]; g=a[[1]][[n+5]]; If[b==1&&c==1&&d==1&&e==1&&f==1&&g==1, AppendTo[lst, n-1]], {n, 2*8!, 8*9!-5}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 07 2009 *)
SequencePosition[RealDigits[Pi, 10, 32*10^6][[1]], {1, 1, 1, 1, 1, 1}][[All, 1]]-1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 04 2018 *)
CROSSREFS
Cf. A083603 (five 1's), A083605 (seven 1's).
Sequence in context: A161534 A052197 A053076 * A236600 A105656 A105657
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, May 01 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 05:15 EDT 2024. Contains 376097 sequences. (Running on oeis4.)