Largest integer coprime to n whose binary representation is a substring of the binary representation of n.

A165818

Largest integer coprime to n whose binary representation is a substring of the binary representation of n.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =1a(4) =2a(5) =1a(6) =3a(7) =1a(8) =4a(9) =1a(10) =5a(11) =1a(12) =6a(13) =3a(14) =7a(15) =1a(16) =8a(17) =1a(18) =9a(19) =1a(20) =10a(21) =5a(22) =11a(23) =1a(24) =12a(25) =5a(26) =13a(27) =3a(28) =14a(29) =7

External references