a(n) is the smallest integer > n that has the same number of (nonleading) zeros in its binary representation as n has.
A140977
a(n) is the smallest integer > n that has the same number of (nonleading) zeros in its binary representation as n has.
Terms
- a(0) =3a(1) =5a(2) =7a(3) =9a(4) =6a(5) =11a(6) =15a(7) =17a(8) =10a(9) =12a(10) =13a(11) =19a(12) =14a(13) =23a(14) =31a(15) =33a(16) =18a(17) =20a(18) =21a(19) =24a(20) =22a(21) =25a(22) =27a(23) =35a(24) =26a(25) =28a(26) =29a(27) =39a(28) =30a(29) =47
External references
- oeis: A140977