%I #10 May 13 2013 01:54:07
%S 2,39,43,45,46,51,53,54,57,58,60,2303,2431,2495,2527,2543,2551,2555,
%T 2557,2558,2687,2751,2783,2799,2807,2811,2813,2814,2879,2911,2927,
%U 2935,2939,2941,2942,2975,2991,2999,3003,3005,3006,3023,3031,3035,3037,3038
%N 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.
%H Charles R Greathouse IV, <a href="/A078733/b078733.txt">Table of n, a(n) for n = 1..10000</a>
%e 39 = 100111_2 with 4 1's and 2 0's, hence 39 is in the sequence.
%o (PARI) is(n)=hammingweight(bitneg(n,#binary(n)))^2==hammingweight(n) \\ _Charles R Greathouse IV_, Mar 29 2013
%K base,nonn
%O 1,1
%A _Benoit Cloitre_, Dec 21 2002
|