a(n) = the smallest positive integer that is non-coprime to n and has the same number of 1's in its binary representation as n.
A145254
a(n) = the smallest positive integer that is non-coprime to n and has the same number of 1's in its binary representation as n.
Terms
- a(0) =2a(1) =3a(2) =2a(3) =5a(4) =3a(5) =7a(6) =2a(7) =3a(8) =5a(9) =11a(10) =3a(11) =13a(12) =7a(13) =15a(14) =2a(15) =17a(16) =3a(17) =19a(18) =5a(19) =7a(20) =11a(21) =23a(22) =3a(23) =25a(24) =13a(25) =15a(26) =7a(27) =29a(28) =15a(29) =31
External references
- oeis: A145254