a(n) is the smallest positive integer m with exactly n ones in its binary representation and with n represented in binary as a substring of the binary representation of m.

A147760

a(n) is the smallest positive integer m with exactly n ones in its binary representation and with n represented in binary as a substring of the binary representation of m.

Terms

    a(0) =1a(1) =5a(2) =7a(3) =39a(4) =47a(5) =111a(6) =127a(7) =1151a(8) =1279a(9) =2815a(10) =3071a(11) =13311a(12) =14335a(13) =30719a(14) =32767a(15) =557055a(16) =589823a(17) =1245183a(18) =1310719a(19) =5505023a(20) =5767167a(21) =12058623a(22) =12582911a(23) =104857599a(24) =109051903a(25) =226492415a(26) =234881023a(27) =973078527a(28) =1006632959a(29) =2080374783

External references