a(n) is the m-th positive integer which is coprime to n, where phi(n) is number of positive integers which are <= n and are coprime to n, d(n) is the number of positive divisors of n and m = phi(n) if phi(n)|d(n), else m = d(n) mod phi(n).
A124218
a(n) is the m-th positive integer which is coprime to n, where phi(n) is number of positive integers which are <= n and are coprime to n, d(n) is the number of positive divisors of n and m = phi(n) if phi(n)|d(n), else m = d(n) mod phi(n).
Terms
- a(0) =1a(1) =1a(2) =2a(3) =1a(4) =2a(5) =5a(6) =2a(7) =7a(8) =4a(9) =9a(10) =2a(11) =5a(12) =2a(13) =9a(14) =7a(15) =9a(16) =2a(17) =17a(18) =2a(19) =13a(20) =5a(21) =7a(22) =2a(23) =23a(24) =3a(25) =7a(26) =5a(27) =13a(28) =2a(29) =29
External references
- oeis: A124218