OFFSET
0,3
EXAMPLE
n=13: [13]D = [1101]B ==> [1101]D = [10001001101]B = a(13).
MATHEMATICA
Table[ FromDigits[ IntegerDigits[ FromDigits[ IntegerDigits[n, 2]], 2]], {n, 1, 20}]
PROG
(PARI) a(n)=subst(Pol(binary(subst(Pol(binary(n)), x, 10))), x, 10)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jun 18 2002
STATUS
approved