a(n) = number of positive integers k, k <= n, where the number of ones in the binary representation of each k is coprime to n.

A138663

a(n) = number of positive integers k, k <= n, where the number of ones in the binary representation of each k is coprime to n.

Terms

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

External references