

A085693


Let f(0) = 1, f(1) = 12, f(2) = 223, f(3) = 3334, = f(4) = 44445, f(5) = 555556, etc. Sequence gives concatenation of 0, f(0), f(f(0)), f(f(f(0))), ...


3



0, 1, 1, 2, 1, 2, 2, 2, 3, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 3, 3, 3, 4, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 3, 3, 3, 4, 2, 2, 3, 2, 2, 3, 3, 3, 3, 4, 2, 2, 3, 2, 2, 3, 3, 3, 3, 4, 3, 3, 3, 4, 3, 3, 3, 4, 3, 3, 3, 4, 4, 4, 4, 4, 5, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 3, 3, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,4


LINKS

Table of n, a(n) for n=0..89.


EXAMPLE

0;
1;
1, 2;
1, 2, 2, 2, 3;
1, 2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 3, 3, 3, 4; ...
For large m, the mth block is given by A085694.


CROSSREFS

Cf. A085694, A000110, A048993 = the number of occurrences of k in nth block.
Cf. A085694, A000110, A048993 (the number of occurrences of k in nth block).
Sequence in context: A285797 A131840 A179752 * A067995 A135551 A065531
Adjacent sequences: A085690 A085691 A085692 * A085694 A085695 A085696


KEYWORD

nonn,base,easy


AUTHOR

Philippe Deléham, Aug 14, 2003; revised Sep 18 2005.


EXTENSIONS

Edited by Charles R Greathouse IV, Apr 30 2010


STATUS

approved



