[go: up one dir, main page]

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”).

A082586
Length of the run of consecutive equal digits in the decimal expansion of Pi beginning at position n and ignoring any immediately-previous equal digits.
2
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,25
COMMENTS
Digits 3,1,4,... are indexed 1,2,3,...
EXAMPLE
Pi = 3.141592653589793238462643383279502884... and the first run of 2 starts at position 25, so a(n) = 1 for n < 25, a(25) = 2.
Runs of length 2 begin in positions 25,35,45,60,80,95 then not again until 118. Compare A049514 and A049518.
CROSSREFS
Cf. A084073, A121657 (another version).
Sequence in context: A171398 A113607 A351352 * A160094 A043283 A127937
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, May 12 2003
EXTENSIONS
More terms from Kyle Hoffman (khoffma1(AT)ashland.edu), Apr 01 2004
Definition clarified by Rick L. Shepherd, Aug 26 2006
STATUS
approved