A067319 Numbers n such that phi(n)^phi(n)+1 is prime.
1, 2, 3, 4, 5, 6, 8, 10, 12
Offset: 1
Keywords
Examples
Cases n=1-12 are based on the primes 2, 5, 257.
Programs
-
Mathematica
ephiQ[n_]:=Module[{eph=EulerPhi[n]},PrimeQ[eph^eph+1]]; Select[ Range[ 20],ephiQ] (* Harvey P. Dale, Feb 23 2021 *)
-
PARI
isok(n) = isprime(eulerphi(n)^eulerphi(n) + 1); \\ Michel Marcus, Oct 07 2013
Comments