OFFSET
1,2
COMMENTS
Note that Maple, PARI etc. have different notions of what "next prime" means!
FORMULA
MATHEMATICA
Select[Range[5600], PrimeQ[# (#!) +NextPrime[#-1]]&] (* Harvey P. Dale, Oct 07 2019 *)
PROG
(PARI) for(x=1, 1000, if(isprime(x*x!+nextprime(x)), print1(x, ", ")))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jorge Coveiro, Jul 24 2006
EXTENSIONS
a(11)-a(20) from Donovan Johnson, Dec 13 2008
STATUS
approved