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

a(n)=S(S(n)) where S=A054353 gives the partial sums of Kolakoski sequence.
0

%I #9 Jun 24 2022 23:37:40

%S 1,5,7,9,10,14,15,19,21,23,25,29,30,32,34,36,37,41,43,45,47,49,50,54,

%T 55,59,61,63,64,68,69,71,73,75,77,81,82,86,88,90,91,95,96,100,102,104,

%U 106,108,109,113,114,116,118,122,123,127,129,131,132,136,137,141,143,145

%N a(n)=S(S(n)) where S=A054353 gives the partial sums of Kolakoski sequence.

%F a(n) = Sum_{k=1..n} (1/2)*(3+(-1)^k)*A000002(k) = (3/2)*A054353(n)+(1/2)*A074272(n).

%Y Cf. A000002, A054353, A074272.

%Y Partial sums of A088570.

%K nonn

%O 1,2

%A _Benoit Cloitre_, Mar 15 2009