cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A083604 Starting positions of strings of six 1's in the decimal expansion of Pi.

Original entry on oeis.org

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

Views

Author

Rick L. Shepherd, May 01 2003

Keywords

Crossrefs

Cf. A083603 (five 1's), A083605 (seven 1's).

Programs

  • 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 *)