login
A078733
Numbers n such that the b0(n)^2=b1(n) where b1(n) denotes the number of 1's in binary expansion of n, b0(n) the number of 0's.
1
2, 39, 43, 45, 46, 51, 53, 54, 57, 58, 60, 2303, 2431, 2495, 2527, 2543, 2551, 2555, 2557, 2558, 2687, 2751, 2783, 2799, 2807, 2811, 2813, 2814, 2879, 2911, 2927, 2935, 2939, 2941, 2942, 2975, 2991, 2999, 3003, 3005, 3006, 3023, 3031, 3035, 3037, 3038
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
39 = 100111_2 with 4 1's and 2 0's, hence 39 is in the sequence.
PROG
(PARI) is(n)=hammingweight(bitneg(n, #binary(n)))^2==hammingweight(n) \\ Charles R Greathouse IV, Mar 29 2013
CROSSREFS
Sequence in context: A028442 A062982 A042801 * A201360 A227904 A175760
KEYWORD
base,nonn
AUTHOR
Benoit Cloitre, Dec 21 2002
STATUS
approved