OFFSET
1,5
EXAMPLE
For n=7: A002858(7) = 11 = 3+8 = (1+2)+(2+6) = (1+2)+(2+(2+4)) = (1+2)+(2+(2+(1+3))) = (1+2)+(2+(2+(1+(1+2)))). Number of 2's in (1+2)+(2+(2+(1+(1+2)))) is 4, so a(7) = 4.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Naohiro Nomoto, Feb 22 2003
STATUS
approved