login
A160931
a(n)= n + digital sum(n+1).
0
3, 5, 7, 9, 11, 13, 15, 17, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 76, 78, 80
OFFSET
1,1
COMMENTS
a(8)=8+ds(9)=8+9=17, a(15)=15+ds(16)=15+7=22; a(26)=26+ds(27)=26+9=35.
MATHEMATICA
(#+Total[IntegerDigits[#+1]])&/@Range[100] (* Harvey P. Dale, Mar 16 2011 *)
CROSSREFS
Sequence in context: A024806 A084834 A118137 * A160924 A063280 A352874
KEYWORD
nonn,base
AUTHOR
Claudio Meller, May 30 2009
STATUS
approved