OFFSET
0,5
COMMENTS
First occurrence of k: 1, 2, 5, 14, 41, 122, 365, 1094, 3281, 9842, 29525, 88574, 265721, 797162, 2391485, ...,.
MATHEMATICA
Nest[Flatten[ #1 /. a_Integer -> {a, a + 1, Ceiling[Log[10, a + 1]]}] &, {0}, 5]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Aug 02 2006
STATUS
approved