login
a(n) is the greatest k such that A092213(n) = k + reverse(k) (where reverse(k) is the binary reverse of k, A030101(k)).
2

%I #11 Jan 22 2020 12:56:53

%S 0,1,2,4,3,8,5,7,12,16,9,14,13,20,24,15,32,17,28,26,21,25,40,48,29,27,

%T 44,31,56,64,33,50,60,41,72,49,80,45,62,57,96,88,51,84,61,59,104,112,

%U 92,63,128,65,98,120,116,73,106,81,144,124,97,160,89,122,85

%N a(n) is the greatest k such that A092213(n) = k + reverse(k) (where reverse(k) is the binary reverse of k, A030101(k)).

%H Rémy Sigrist, <a href="/A331585/b331585.txt">Table of n, a(n) for n = 0..7528</a>

%H Rémy Sigrist, <a href="/A331585/a331585.gp.txt">PARI program for A331585</a>

%F a(n) + A030101(a(n)) = A092213(n).

%F a(n) >= A330340(n).

%e For n = 5:

%e - A092213(5) = 9,

%e - 8 is the greatest k such that k + reverse(k) = 9,

%e - so a(5) = 8.

%o (PARI) See Links section.

%Y Cf. A030101, A055944, A092213, A330340.

%K nonn,base

%O 0,3

%A _Rémy Sigrist_, Jan 21 2020