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.

A083603 Starting positions of strings of five 1's in the decimal expansion of Pi.

Original entry on oeis.org

32788, 120459, 141899, 255945, 255946, 266894, 365783, 378301, 663429, 707038, 740956, 802226, 821500, 969110, 973525, 973670, 1084126, 1189427, 1247619, 1295214, 1312579, 1672127, 1876791, 2003018, 2030728, 2136234, 2170463
Offset: 1

Views

Author

Rick L. Shepherd, May 01 2003

Keywords

Crossrefs

Cf. A083602 (four 1's), A083604 (six 1's).

Programs

  • Mathematica
    $MaxPrecision=10^8;a=RealDigits[Pi,10,4*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]];If[b==1&&c==1&&d==1&&e==1&&f==1,AppendTo[lst,n-1]],{n,3*7!,4*9!-4}];lst (* Vladimir Joseph Stephan Orlovsky, Jun 07 2009 *)