login
A100428
Bisection of Kolakoski sequence A000002.
7
1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1
OFFSET
1,2
COMMENTS
Lengths of runs of ones in A000002. - Reinhard Zumkeller, Aug 03 2013
As in the Kolakoski sequence itself, the length of runs in this sequence is 1 or 2 : a run X,X,X is not possible, since it would imply X,Y,X,Y,X in the Kolakoski sequence, which in turn would imply 1, 1, 1 somewhere before (one Y, one X, one Y) which is not possible. - Jean-Christophe Hervé, Oct 04 2014
LINKS
PROG
(Haskell)
a100428 n = a100428_list !! n
a100428_list = f a000002_list where f (u:_:us) = u : f us
-- Reinhard Zumkeller, Aug 03 2013
CROSSREFS
Sequence in context: A023396 A091221 A106495 * A325169 A322862 A325225
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 20 2004
EXTENSIONS
More terms from Joshua Zucker, May 12 2006
Offset changed by Reinhard Zumkeller, Aug 03 2013
STATUS
approved