login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A160949
a(n) = n - digital sum(n+1)
0
-1, -1, -1, -1, -1, -1, -1, -1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 62, 62, 62, 62, 62
OFFSET
1,9
COMMENTS
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
MATHEMATICA
Table[n-Total[IntegerDigits[n+1]], {n, 80}] (* Harvey P. Dale, May 19 2018 *)
CROSSREFS
Sequence in context: A010731 A048762 A201053 * A245401 A048763 A088841
KEYWORD
base,sign
AUTHOR
Claudio Meller, May 30 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 23:16 EDT 2024. Contains 376078 sequences. (Running on oeis4.)