|
| |
|
|
A051739
|
|
Primes of the form (n!)^2+1.
|
|
4
| | |
|
|
|
OFFSET
| 1,1
|
|
|
LINKS
| Vincenzo Librandi, Table of n, a(n) for n = 1..12
|
|
|
EXAMPLE
| 37 is a term because it is prime and is of the form (3!)^2 + 1.
|
|
|
MATHEMATICA
| lst={}; Do[s=n!^2; If[PrimeQ[p=s+1], AppendTo[lst, p]], {n, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 27 2008]
Select[Table[(n!)^2+1, {n, 1, 5000}], PrimeQ] (* Vincenzo Librandi, Dec 08 2011 *)
|
|
|
PROG
| (MAGMA) [a: n in [1..50] | IsPrime(a) where a is Factorial(n)^2+1]; // Vincenzo Librandi, Dec 08 2011
|
|
|
CROSSREFS
| Cf. A046029. Primes in A020549.
Sequence in context: A099657 A107633 A041959 * A084436 A053609 A036780
Adjacent sequences: A051736 A051737 A051738 * A051740 A051741 A051742
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| G. L. Honaker, Jr. (honak3r(AT)gmail.com), Dec 06 1999
|
|
|
EXTENSIONS
| More terms from James A. Sellers (sellersj(AT)math.psu.edu), Dec 08 1999
The next term is too large to include.
|
| |
|
|