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
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Mar 21 2004
EXTENSIONS
More terms from Robert G. Wilson v, Feb 26 2005
STATUS
approved