OFFSET
1,4
COMMENTS
A234322(n) = nearest integer to 100*a(n)/n. [Jonathan Sondow, Jan 08 2014]
LINKS
O. Bordelles and B. Cloitre, Bounds for the Kolakoski Sequence, J. Integer Sequences, 14 (2011), #11.2.1.
FORMULA
a(n) = n-A074286(n).
a(n) = 2*n - A054353(n). - Jean-Christophe Hervé, Oct 05 2014
MATHEMATICA
a2 = {1, 2, 2}; Do[ a2 = Join[a2, {1 + Mod[n - 1, 2]}], {n, 3, 60}, {i, 1, a2[[n]]}]; a3 = Accumulate[a2]; 2*Range[Length[a3]] - a3 (* Jean-François Alcover, Jun 18 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 03 2009
STATUS
approved