login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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