OFFSET
1,4
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 1's in (1+2)+(2+(2+(1+(1+2)))) is 3, so a(7) = 3.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Naohiro Nomoto, Feb 22 2003
STATUS
approved