A positive integer n is included if both the number of 0's and the number of 1's in the binary representation of n are powers of 2 (including being possibly 1).

A143072

A positive integer n is included if both the number of 0's and the number of 1's in the binary representation of n are powers of 2 (including being possibly 1).

Terms

    a(0) =2a(1) =4a(2) =5a(3) =6a(4) =9a(5) =10a(6) =12a(7) =16a(8) =23a(9) =27a(10) =29a(11) =30a(12) =33a(13) =34a(14) =36a(15) =39a(16) =40a(17) =43a(18) =45a(19) =46a(20) =48a(21) =51a(22) =53a(23) =54a(24) =57a(25) =58a(26) =60a(27) =135a(28) =139a(29) =141

External references