OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
EulerPhi(12) + 1 = 5, d(12) + 1 = 7, sigma(12) + 1 = 29, all prime.
MATHEMATICA
Select[Range[400], AllTrue[{EulerPhi[#]+1, DivisorSigma[0, #]+1, DivisorSigma[ 1, #]+1}, PrimeQ] &] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Sep 16 2019 *)
PROG
(PARI) { n=0; for (m=1, 10^9, if (isprime(eulerphi(m) + 1) && isprime(numdiv(m) + 1) && isprime(sigma(m) + 1), write("b066147.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Feb 02 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Dec 12 2001
EXTENSIONS
a(24)-a(58) from Harry J. Smith, Feb 02 2010
STATUS
approved