login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A079445
phi(n)*(n-phi(n))-1 is prime.
2
4, 5, 6, 7, 9, 10, 12, 13, 14, 18, 19, 21, 24, 26, 28, 31, 35, 38, 39, 40, 42, 43, 44, 45, 49, 50, 51, 54, 55, 58, 61, 63, 66, 68, 70, 72, 73, 74, 75, 76, 77, 84, 86, 90, 91, 92, 93, 94, 98, 99, 100, 102, 103, 104, 108, 109, 116, 119, 122, 129, 133, 139, 141
OFFSET
1,1
LINKS
EXAMPLE
a(1)=4 as phi(4)=2, 2*[4-2]-1=3.
MATHEMATICA
pepQ[n_]:=Module[{ep=EulerPhi[n]}, PrimeQ[ep(n-ep)-1]]; Select[ Range[ 150], pepQ] (* Harvey P. Dale, Jun 11 2018 *)
PROG
(PARI) for (n=2, 100, if (isprime(eulerphi(n)*(n-eulerphi(n))-1), print1(n", ")))
CROSSREFS
Cf. A079446.
Sequence in context: A329782 A218044 A066485 * A120173 A075862 A088685
KEYWORD
nonn
AUTHOR
Jon Perry, Jan 09 2003
EXTENSIONS
More terms from Michel Marcus, Mar 17 2014
STATUS
approved