OFFSET
1,1
COMMENTS
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
Jianing Song, Solutions to (Z/mZ)* = C_2 X C_(2n), n <= 5000
Wikipedia, Multiplicative group of integers modulo n
EXAMPLE
See the a-file for the solutions to (Z/mZ)* = C_2 X C_(2n) for n <= 5000.
PROG
(PARI) a(n) = my(i=0, r=4*n, N=floor(exp(Euler)*r*log(log(r^2))+2.5*r/log(log(r^2)))); for(k=r+1, N, if(eulerphi(k)==r && lcm(znstar(k)[2])==r/2, i++)); i
CROSSREFS
Cf. A328416 (smallest k such that a(k) = n).
KEYWORD
nonn
AUTHOR
Jianing Song, Oct 14 2019
STATUS
approved