login
A055958
a(n) = n + reversal of base 9 digits of n (written in base 10).
3
0, 2, 4, 6, 8, 10, 12, 14, 16, 10, 20, 30, 40, 50, 60, 70, 80, 90, 20, 30, 40, 50, 60, 70, 80, 90, 100, 30, 40, 50, 60, 70, 80, 90, 100, 110, 40, 50, 60, 70, 80, 90, 100, 110, 120, 50, 60, 70, 80, 90, 100, 110, 120, 130, 60, 70, 80, 90, 100, 110, 120, 130, 140, 70, 80, 90
OFFSET
0,2
COMMENTS
If n has an even number of digits in base 9 then a(n) is a multiple of 10.
LINKS
FORMULA
a(n) = n + A030108(n).
MATHEMATICA
Table[n+FromDigits[Reverse[IntegerDigits[n, 9]], 9], {n, 0, 70}] (* Harvey P. Dale, Sep 03 2013 *)
PROG
(PARI) a(n) = n + fromdigits(Vecrev(digits(n, 9)), 9); \\ Michel Marcus, Sep 27 2018
CROSSREFS
Sequence in context: A316837 A076428 A319747 * A241142 A271907 A069816
KEYWORD
nonn,base,look
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved