1,9

a(8)=8-ds(9)=8-9=-1; a(15)=15-ds(16)=15-(1+6)=15-7= 8; a(26)=26-ds(27)=26-(2+7)=26-9=17

Table of n, a(n) for n=1..73.

Table[n-Total[IntegerDigits[n+1]], {n, 80}] (* Harvey P. Dale, May 19 2018 *)

Sequence in context: A010731 A048762 A201053 * A245401 A048763 A088841

Adjacent sequences: A160946 A160947 A160948 * A160950 A160951 A160952

base,sign

Claudio Meller, May 30 2009

approved