This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A331585 #11 Jan 22 2020 12:56:53 %S A331585 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 A331585 44,31,56,64,33,50,60,41,72,49,80,45,62,57,96,88,51,84,61,59,104,112, %U A331585 92,63,128,65,98,120,116,73,106,81,144,124,97,160,89,122,85 %N A331585 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 A331585 Rémy Sigrist, <a href="/A331585/b331585.txt">Table of n, a(n) for n = 0..7528</a> %H A331585 Rémy Sigrist, <a href="/A331585/a331585.gp.txt">PARI program for A331585</a> %F A331585 a(n) + A030101(a(n)) = A092213(n). %F A331585 a(n) >= A330340(n). %e A331585 For n = 5: %e A331585 - A092213(5) = 9, %e A331585 - 8 is the greatest k such that k + reverse(k) = 9, %e A331585 - so a(5) = 8. %o A331585 (PARI) See Links section. %Y A331585 Cf. A030101, A055944, A092213, A330340. %K A331585 nonn,base %O A331585 0,3 %A A331585 _Rémy Sigrist_, Jan 21 2020