OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Bernard Schott, Subfamilies and subsequences
FORMULA
1st family: The primitive terms are p*q*r with p,q,r primes and phi(p*q*r) = (p-1)*(q-1)*(r-1) = m^2. These primitives generate the entire family formed by the numbers k = p^(2s+1) * q^(2t+1) * r^(2u+1) with s,t,u >= 0, and phi(k) = (p^s * q^t * r^u * m)^2.
2nd family: The primitive terms are p^2 * q * r with p,q,r primes and phi(p^2 * q * r) = p*(p-1)*(q-1)*(r-1) = m^2. These primitives generate the entire family formed by the numbers k = p^(2s) * q^(2t+1) * r^(2u+1) with s >= 1, t,u >= 0, and phi(k) = (p^(s-1) * q^t * r^u * m)^2.
3rd family: The primitive terms are p^2 * q^2 * r with p,q,r primes and phi(p^2 * q^2 * r) = p*q*(p-1)*(q-1)*(r-1) = m^2. These primitives generate the entire family formed by the numbers k = p^(2s) * q^(2t) * r^(2u+1) with s,t> = 1, u >= 0, and phi(k) = (p^(s-1) * q^(t-1) * r^u * m)^2.
EXAMPLE
1st family: 273 = 3 * 7 * 13 and phi(273) = 12^2.
2nd family: 816 = 2^4 * 3 * 17 and phi(816) = 16^2.
3rd family: 6975 = 3^2 * 5^2 * 31 and phi(6975) = 60^2.
MAPLE
filter:= n -> issqr(numtheory:-phi(n)) and nops
(numtheory:-factorset(n))=3:
select(filter, [$1..2000]); # after Robert Israel in A324745
MATHEMATICA
Select[Range[2000], And[PrimeNu@ # == 3, IntegerQ@ Sqrt@ EulerPhi@ #] &] (* Michael De Vlieger, Mar 31 2019 *)
PROG
(PARI) isok(n) = (omega(n)==3) && issquare(eulerphi(n)); \\ Michel Marcus, Mar 19 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Bernard Schott, Mar 16 2019
STATUS
approved