OFFSET
1,1
COMMENTS
EXAMPLE
Let prime(k) be 5, therefore prime(k+1)=7 and prime(k)*prime(k+1)=35. (prime(k)-1)!=4!=24. 35+24=59, which is prime.
PROG
(PARI) forprime (p=3, 1000, if (isprime(p*nextprime(p+1)+(p-1)!), print1(p", ")))
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Jon Perry, Jan 16 2003
EXTENSIONS
a(7)-a(8) from Jason Yuen, Aug 22 2024
Name corrected by Joerg Arndt, Aug 23 2024
STATUS
approved