OFFSET
1,1
COMMENTS
From Jason Yuen, Aug 22 2024: (Start)
2551 corresponds to a probable prime.
a(10) > 10000. (End)
a(10) > 20000. - Michael S. Branicky, Apr 14 2025
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.
Let prime(k) be 2, therefore prime(k+1) = 3 and prime(k)*prime(k+1) = 6. (prime(k)-1)! = 1! = 1. 6+1 = 7, which is prime.
PROG
(PARI) forprime (p=3, 1000, if (isprime(p*nextprime(p+1)+(p-1)!), print1(p", ")))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Jon Perry, Jan 16 2003
EXTENSIONS
a(8)-a(9) from Jason Yuen, Aug 22 2024
Name corrected by Joerg Arndt, Aug 23 2024
a(1) = 2 inserted by Michael S. Branicky, Apr 14 2025
STATUS
approved
