OFFSET
1,2
COMMENTS
Totient numbers k such that the cyclic group C_k does not appear as the group of units of a ring Z/rZ.
LINKS
Miles Englezou, Table of n, a(n) for n = 1..10000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
EXAMPLE
8 is a term since phi(m) = 8 for m in {15, 16, 20, 24, 30} and none of these m are an odd prime power or twice an odd prime power.
24 is a term since phi(m) = 24 for m in {35, 39, 45, 52, 56, 70, 72, 78, 84, 90} and none of these m are an odd prime power or twice an odd prime power.
PROG
(PARI) isok(n) = istotient(n) && select(y -> y==[n], Set(apply(x -> znstar(x)[2], invphi(n))))==[] \\ using Max Alekseyev's invphi.gp; see link
CROSSREFS
KEYWORD
nonn
AUTHOR
Miles Englezou, Mar 20 2026
STATUS
approved
