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
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Sum_{k=1..n} a(k) = (3/2)*n + o(n).
EXAMPLE
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.)
CROSSREFS
Cf. A000002.
Sequence in context: A025454 A327104 A126061 * A036602 A176166 A167911
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 10 2003
STATUS
approved

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 July 26 12:21 EDT 2024. Contains 374632 sequences. (Running on oeis4.)