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.

A050222 Starting positions of strings of 2 3's in the decimal expansion of Pi.

Original entry on oeis.org

24, 215, 230, 282, 364, 401, 503, 507, 831, 875, 1032, 1127, 1302, 1353, 1667, 1686, 1698, 1699, 1986, 2568, 2841, 3175, 3289, 3488, 3583, 3620, 3702, 3719, 3833, 3918, 4101, 4265, 4325, 4594, 4623, 4689, 4814, 4928, 4929, 5211, 5269, 5398
Offset: 1

Views

Author

Keywords

Comments

Starting positions are counted from and after the decimal point. Harvey P. Dale, Mar 09 2022

Crossrefs

Cf. A000796.

Programs

  • Mathematica
    q=3;a=RealDigits[Pi,10,2*7! ];lst={};Do[b=a[[1]][[n]];c=a[[1]][[n+1]];If[b==q&&c==q,AppendTo[lst,n-1]],{n,2*7!-1}];lst (* Vladimir Joseph Stephan Orlovsky, Jun 07 2009 *)
    SequencePosition[RealDigits[Pi,10,6000][[1]],{3,3}][[All,1]]-1 (* Harvey P. Dale, Mar 09 2022 *)