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

A158251
a(n)=S(S(n)) where S=A054353 gives the partial sums of Kolakoski sequence.
0
1, 5, 7, 9, 10, 14, 15, 19, 21, 23, 25, 29, 30, 32, 34, 36, 37, 41, 43, 45, 47, 49, 50, 54, 55, 59, 61, 63, 64, 68, 69, 71, 73, 75, 77, 81, 82, 86, 88, 90, 91, 95, 96, 100, 102, 104, 106, 108, 109, 113, 114, 116, 118, 122, 123, 127, 129, 131, 132, 136, 137, 141, 143, 145
OFFSET
1,2
FORMULA
a(n) = Sum_{k=1..n} (1/2)*(3+(-1)^k)*A000002(k) = (3/2)*A054353(n)+(1/2)*A074272(n).
CROSSREFS
Partial sums of A088570.
Sequence in context: A358314 A138579 A189703 * A212191 A336122 A241853
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 15 2009
STATUS
approved