1,2

Table of n, a(n) for n=1..57.

a(n) = 2^floor(log_2(P(n))) + P(n)(mod 2^(floor(log_2(P(n))/2)+1)) -1, where P(n) = the n-th positive integer that is a palindrome when written in binary.

Cf. A175298

Sequence in context: A088007 A302299 A227992 * A088008 A067720 A078106

Adjacent sequences: A175296 A175297 A175298 * A175300 A175301 A175302

base,nonn

Leroy Quet, Mar 24 2010

More terms from Nathaniel Johnston, Nov 18 2010

approved