login
A062538
Primes of form 4*n! + 1.
0
5, 97, 20161, 161281, 1451521, 24908083201, 83691159552001, 1219553378446855442006016000001, 923374789356965521888370970732110324333114258287231764529152000000000001
OFFSET
1,1
EXAMPLE
4*4! + 1 = 97, a prime.
MATHEMATICA
lst={}; Do[p=4*n!+1; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 28 2009 *)
Select[(4Range[60]!+1), PrimeQ] (* Harvey P. Dale, May 08 2024 *)
PROG
(PARI) for(n=1, 55, if(isprime(4*n!+1), print(4*n!+1)))
CROSSREFS
Sequence in context: A117341 A295190 A202516 * A350874 A053980 A215299
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 10 2001
STATUS
approved