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.

A083608 Starting positions of strings of five 2's in the decimal expansion of Pi.

Original entry on oeis.org

65260, 327074, 580735, 619398, 644011, 720510, 963024, 963025, 993919, 1078372, 1196183, 1303184, 1347014, 1391134, 1580648, 1592452, 1636486, 1637080, 1637081, 1795773, 1795774, 1921819, 1964004, 1991262, 2162262, 2355086, 2492921, 2523356, 2523357, 2915313
Offset: 1

Views

Author

Rick L. Shepherd, May 01 2003

Keywords

Comments

Starting position counted after decimal point.- Harvey P. Dale, Mar 11 2023

Crossrefs

Cf. A083607 (four 2's), A083609 (six 2's).

Programs

  • Mathematica
    Transpose[StringPosition[StringDrop[ToString[N[Pi,10! ]],2],"22222"]][[1]] (* Vladimir Joseph Stephan Orlovsky, Jun 19 2009 *)
    SequencePosition[RealDigits[Pi,10,3 10^6][[1]],{2,2,2,2,2}][[;;,1]]-1 (* Harvey P. Dale, Mar 11 2023 *)

Extensions

More terms from Jinyuan Wang, Feb 29 2020