%I #14 Jul 01 2021 12:12:24
%S 1,5,3,9,5,11,7,17,9,21,13,19,11,23,15,33,17,41,25,37,21,45,29,35,19,
%T 43,27,39,23,47,31,65,33,81,49,73,41,89,57,69,37,85,53,77,45,93,61,67,
%U 35,83,51,75,43,91,59,71,39,87,55,79,47,95,63,129,65,161,97,145,81,177,113
%N a(n) is the smallest positive integer k that when written in binary, and leading 0's of k are ignored, contains the reversal of the digits of binary n.
%H Rémy Sigrist, <a href="/A165789/b165789.txt">Table of n, a(n) for n = 1..8192</a>
%F a(2n-1) = A030101(2n-1), for all n >=1.
%F a(2n) = A030101(2n) + 2^(floor(log(n)/log(2))+2), for all n>=1.
%o (PARI) a(n) = { my (b=Vecrev(binary(n))); if (b[1]==0, b=concat(1, b)); fromdigits(b, 2) } \\ _Rémy Sigrist_, Jul 01 2021
%Y Cf. A030101.
%K base,nonn
%O 1,2
%A _Leroy Quet_, Sep 26 2009
%E More terms from _Sean A. Irvine_, Dec 08 2009