OFFSET
0,2
COMMENTS
If n has an even number of hexadecimal digits then a(n) is a multiple of 17.
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = n + A056962(n).
MAPLE
f:= proc(n) local L, i;
L:= convert(n, base, 16);
n + add(L[-i]*16^(i-1), i=1..nops(L))
end proc:
map(f, [$0..100]); # Robert Israel, Nov 02 2025
MATHEMATICA
Table[n + IntegerReverse[n, 16], {n, 0, 100}] (* Paolo Xausa, Aug 08 2024 *)
CROSSREFS
KEYWORD
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved
