OFFSET
0,2
COMMENTS
If n has an even number of digits in base-2 then a(n) is a multiple of 3.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = n + A030101(n).
MATHEMATICA
f[n_] := Block[{id = IntegerDigits[n, 2]}, FromDigits[id + Reverse@id, 2]]; Array[f, 69, 0] (* Robert G. Wilson v, Nov 07 2010 *)
PROG
(Haskell)
a055944 n = n + a030101 n -- Reinhard Zumkeller, Nov 14 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved