OFFSET
0,2
COMMENTS
0 -> 10 because 0 + (10 - 0) = 10; 10 -> 19 because 10 + (10 - 1) = 19; 19 -> 28 because 19 + (10 - 1) = 28; 28 -> 36 because 28 + (10 - 2) = 36...
The number of entries between m*10^k and (m+1)*10^k is approximately (10^k)/(10-m) (for 0<m<10). - Sam Alexander, Jan 06 2005
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MATHEMATICA
NestList[#+(10-First[IntegerDigits[#]])&, 0, 60] (* Harvey P. Dale, Oct 04 2012 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Oct 01 2004
EXTENSIONS
More terms from Sam Alexander, Jan 06 2005
STATUS
approved