login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A092400
Fixed point of the morphism 1 -> 1121211, 2 -> 1121212121211, starting from a(1) = 1.
1
1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1
OFFSET
1,3
COMMENTS
Length of n-th run of identical symbols in A051069.
FORMULA
Sum_{k=1..n} a(k) = A007417(n).
MATHEMATICA
Nest[ Function[ l, {Flatten[(l /. {1 -> {1, 1, 2, 1, 2, 1, 1}, 2 -> {1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1}})]}], {1}, 3] (* Robert G. Wilson v, Feb 26 2005 *)
CROSSREFS
Sequence in context: A184240 A244840 A103414 * A303598 A337277 A269974
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Mar 21 2004
EXTENSIONS
More terms from Robert G. Wilson v, Feb 26 2005
STATUS
approved