login
A055954
a(n) = n + reversal of base 7 digits of n (written in base 10).
2
0, 2, 4, 6, 8, 10, 12, 8, 16, 24, 32, 40, 48, 56, 16, 24, 32, 40, 48, 56, 64, 24, 32, 40, 48, 56, 64, 72, 32, 40, 48, 56, 64, 72, 80, 40, 48, 56, 64, 72, 80, 88, 48, 56, 64, 72, 80, 88, 96, 50, 100, 150, 200, 250, 300, 350, 64, 114, 164, 214, 264, 314, 364, 78, 128, 178
OFFSET
0,2
COMMENTS
If n has an even number of digits in base 7 then a(n) is a multiple of 8
LINKS
FORMULA
a(n) = n + A030106(n).
MATHEMATICA
Table[n+FromDigits[Reverse[IntegerDigits[n, 7]], 7], {n, 0, 70}] (* Harvey P. Dale, Jan 29 2020 *)
PROG
(PARI) a(n) = n + fromdigits(Vecrev(digits(n, 7)), 7); \\ Michel Marcus, Aug 08 2024
CROSSREFS
Sequence in context: A356431 A345444 A319807 * A366021 A365453 A365984
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved