OFFSET
0,2
COMMENTS
0 -> 10 because 0 + (10 - 0) = 10; 10 -> 29 because 10 + [(10 - 1) + (10 - 0)] = 29; 29 -> 38 because 19 + [(10 - 1) + (10 - 9)] = 38; ...
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MATHEMATICA
NestList[Total[10-IntegerDigits[#]]+#&, 0, 60] (* Harvey P. Dale, Jan 02 2014 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Oct 01 2004
EXTENSIONS
More terms from Sam Alexander, Jan 06 2005
STATUS
approved