login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088496 Length of n-th run = n-th partial sum. 1

%I #10 Oct 06 2019 17:25:12

%S 1,2,2,2,1,1,1,1,1,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,1,

%T 1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2,

%U 2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2

%N Length of n-th run = n-th partial sum.

%F Sum_{k=1..n} a(k) = (3/2)*n + o(n).

%e Partial sums s(n) = Sum_{k=1..n} a(k) are 1,3,5,7,... hence sequence begins 1,2,2,2,1,1,1,1,1,2,2,2,2,2,2,2,1. (E.g., third run has length 5 since s(3)=5.)

%Y Cf. A000002.

%K nonn

%O 1,2

%A _Benoit Cloitre_, Nov 10 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 31 09:45 EDT 2024. Contains 375560 sequences. (Running on oeis4.)