OFFSET
1,1
COMMENTS
Number of primes counted without multiplicity. - Harvey P. Dale, Jun 19 2020
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
phi(15) = 8, gcd(8, 14) = 2, 15 = 3*5, 2 prime factors.
MATHEMATICA
Select[Range[400], GCD[EulerPhi[#], #-1]==PrimeNu[#]&] (* Harvey P. Dale, Jun 19 2020 *)
PROG
(PARI) is(k) = k > 1 && gcd(eulerphi(k), k-1) == omega(k); \\ Amiram Eldar, Sep 18 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Definition clarified by Harvey P. Dale, Jun 19 2020
STATUS
approved