a(n) is the smallest integer > n that is non-coprime to n and has the same number of 0's in its binary representation as n has.
A145257
a(n) is the smallest integer > n that is non-coprime to n and has the same number of 0's in its binary representation as n has.
Terms
- a(0) =6a(1) =15a(2) =10a(3) =30a(4) =14a(5) =63a(6) =18a(7) =12a(8) =12a(9) =55a(10) =21a(11) =247a(12) =30a(13) =63a(14) =34a(15) =85a(16) =20a(17) =57a(18) =24a(19) =28a(20) =26a(21) =253a(22) =38a(23) =45a(24) =28a(25) =30a(26) =46a(27) =1015a(28) =55a(29) =1023
External references
- oeis: A145257