login
Partial alternating sums of the Kolakoski sequence A000002.
4

%I #10 Mar 31 2012 13:21:54

%S 1,-1,1,0,1,-1,0,-2,0,-1,1,-1,0,-1,1,0,1,-1,1,0,2,1,2,0,1,-1,1,0,1,-1,

%T 0,-1,1,0,2,0,1,-1,1,0,1,-1,0,-2,0,-1,1,0,1,-1,0,-1,1,-1,0,-2,0,-1,0,

%U -2,-1,-3,-1,-2,0,-2,-1,-2,0,-1,0,-2,-1,-3,-1,-2,0

%N Partial alternating sums of the Kolakoski sequence A000002.

%H Nathaniel Johnston, <a href="/A074272/b074272.txt">Table of n, a(n) for n = 1..10000</a>

%e Kolakoski: 1,2,2,1,1,2,1,2,2,1,2,2,1,1,... We look at 1-2+2-1+1-2+1-2+2 and this gives 1,-1,1,0,1,-1,0,-2,0

%Y Cf. A054353.

%K sign,easy

%O 1,8

%A _Jon Perry_, Sep 21 2002