login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Sum of the largest and smallest number having in binary representation the same number of 0's and 1's as n.
4

%I #7 Mar 30 2012 18:50:25

%S 0,2,4,6,8,11,11,14,16,21,21,25,21,25,25,30,32,41,41,47,41,47,47,53,

%T 41,47,47,53,47,53,53,62,64,81,81,91,81,91,91,99,81,91,91,99,91,99,99,

%U 109,81,91,91,99,91,99,99,109,91,99,99,109,99,109,109,126,128,161,161,179

%N Sum of the largest and smallest number having in binary representation the same number of 0's and 1's as n.

%C a(n) = A073137(n) + A073138(n).

%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

%Y Cf. A007088, A073139, A073141.

%K nonn

%O 0,2

%A _Reinhard Zumkeller_, Jul 16 2002