login
A160941
a(n)= n - digital sum(n-1)
0
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 64, 64, 64
OFFSET
1,11
COMMENTS
a(8)=8-ds(7)=8-7=1; a(15)=15-ds(14)=15-5=10; a(26)=26-ds(25)=26-7=19
MATHEMATICA
Table[n-Total[IntegerDigits[n-1]], {n, 80}] (* Harvey P. Dale, Apr 20 2011 *)
CROSSREFS
Sequence in context: A269352 A010692 A109751 * A070565 A376257 A169932
KEYWORD
nonn,base
AUTHOR
Claudio Meller, May 30 2009
STATUS
approved