login
a(n)=3-k(n), where k=A006928; also, a and k have the same runlength sequence, with n-th term k(n-1) for n >= 2.
0

%I #15 Nov 11 2014 03:35:46

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

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

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

%N a(n)=3-k(n), where k=A006928; also, a and k have the same runlength sequence, with n-th term k(n-1) for n >= 2.

%C Essentially the same as A049705. [From _R. J. Mathar_, Oct 15 2008]

%F a(n) = A049705(n+1) = A088569(n) for n > 1. - _Jean-Christophe Hervé_, Nov 10 2014

%Y Cf. A000002 (Kolakoski sequence).

%K nonn

%O 1,1

%A _Clark Kimberling_