a(n) = the smallest positive integer such that both n and a(n), when represented in binary, contain the same types of runs of 0's, the runs being in any order.
A161822
a(n) = the smallest positive integer such that both n and a(n), when represented in binary, contain the same types of runs of 0's, the runs being in any order.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =4a(4) =2a(5) =2a(6) =1a(7) =8a(8) =4a(9) =10a(10) =2a(11) =4a(12) =2a(13) =2a(14) =1a(15) =16a(16) =8a(17) =18a(18) =4a(19) =18a(20) =10a(21) =10a(22) =2a(23) =8a(24) =4a(25) =10a(26) =2a(27) =4a(28) =2a(29) =2
External references
- oeis: A161822