OFFSET
0,2
COMMENTS
If n has an even number of digits in base 7 then a(n) is a multiple of 8
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
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
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved