login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A050222
Starting positions of strings of 2 3's in the decimal expansion of Pi.
1
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,1
COMMENTS
Starting positions are counted from and after the decimal point. Harvey P. Dale, Mar 09 2022
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 *)
CROSSREFS
Cf. A000796.
Sequence in context: A108671 A097321 A105946 * A169635 A269496 A376552
KEYWORD
nonn,base
STATUS
approved