login
A177502
Prime numbers p such that (p-2)! + 1 is prime.
0
2, 3, 5, 13, 29, 43, 79, 401, 26953, 150211, 288467, 422431
OFFSET
1,1
EXAMPLE
a(1)=2 because (2-2)! + 1 = 0! + 1 = 1 + 1 = 2.
MATHEMATICA
aa = {}; Do[p = Prime[n]; If[PrimeQ[(p - 2)! + 1], AppendTo[aa, p]], {n, 1, 10000}]; aa
CROSSREFS
Sequence in context: A173718 A281316 A329241 * A072536 A087592 A248526
KEYWORD
nonn,more,changed
AUTHOR
Artur Jasinski, May 10 2010
EXTENSIONS
New term added by Artur Jasinski, May 19 2010
a(10)-a(12) from Amiram Eldar, Oct 24 2024
STATUS
approved