

A074262


Positions of '11' in Kolakoski sequence A000002.


4



4, 13, 16, 22, 28, 31, 40, 48, 51, 58, 67, 70, 78, 85, 94, 97, 103, 112, 115, 121, 124, 130, 133, 140, 148, 157, 160, 167, 175, 178, 184, 190, 193, 201, 208, 217, 220, 226, 229, 238, 244, 247, 253, 256, 265, 271, 274, 283, 291, 294, 303, 310, 319, 322, 328
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS



EXAMPLE

Kolakoski sequence begins 1,2,2,1,1,2,1,2,2,1,2,2,1,1,... so 4 and 13 are in this sequence.


MATHEMATICA

a2 = {1, 2, 2}; Do[ a2 = Join[a2, {1 + Mod[n  1, 2]}], {n, 3, 300}, {i, 1, a2[[n]]}]; Split[a2] /. {1, 1} > {0, 1} // Flatten // Position[#, 0]& // Flatten (* JeanFrançois Alcover, Jun 18 2013 *)


CROSSREFS



KEYWORD

nonn,easy


AUTHOR



EXTENSIONS



STATUS

approved



