login
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

%I #6 Mar 30 2012 17:36:40

%S 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,

%T 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,

%U 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

%N 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.

%C Digits 3,1,4,... are indexed 1,2,3,...

%e Pi = 3.141592653589793238462643383279502884... and the first run of 2 starts at position 25, so a(n) = 1 for n < 25, a(25) = 2.

%e Runs of length 2 begin in positions 25,35,45,60,80,95 then not again until 118. Compare A049514 and A049518.

%Y Cf. A084073, A121657 (another version).

%K nonn,base,easy

%O 1,25

%A _N. J. A. Sloane_, May 12 2003

%E More terms from Kyle Hoffman (khoffma1(AT)ashland.edu), Apr 01 2004

%E Definition clarified by _Rick L. Shepherd_, Aug 26 2006