login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051739 Primes of the form (n!)^2 + 1. 4
2, 5, 37, 577, 14401, 131681894401, 13168189440001, 1593350922240001, 38775788043632640001, 384956219213331276939737002152967117209600000001 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
37 is a term because it is prime and is (3!)^2 + 1.
MATHEMATICA
lst={}; Do[s=n!^2; If[PrimeQ[p=s+1], AppendTo[lst, p]], {n, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, 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: A107633 A352973 A041959 * A189409 A222318 A084436
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Dec 06 1999
EXTENSIONS
More terms from James A. Sellers, Dec 08 1999
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)