[go: up one dir, main page]

login
Revision History for A051739 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Primes of the form (n!)^2 + 1.
(history; published version)
#18 by Charles R Greathouse IV at Thu Sep 08 08:44:59 EDT 2022
PROG

(MAGMAMagma) [a: n in [1..50] | IsPrime(a) where a is Factorial(n)^2+1]; // Vincenzo Librandi, Dec 08 2011

Discussion
Thu Sep 08
08:44
OEIS Server: https://oeis.org/edit/global/2944
#17 by Alois P. Heinz at Fri Jan 09 19:13:42 EST 2015
STATUS

proposed

approved

#16 by Jon E. Schoenfield at Fri Jan 09 13:15:39 EST 2015
STATUS

editing

proposed

Discussion
Fri Jan 09
13:49
Michel Marcus: .... then maybe
The next term is too large to include in data section.
#15 by Jon E. Schoenfield at Fri Jan 09 13:15:15 EST 2015
NAME

Primes of the form (n!)^2 + 1.

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 Joseph Stephan Orlovsky_, Sep 27 2008] *)

PROG

(MAGMA) [a: n in [1..50] | IsPrime(a) where a is Factorial(n)^2+1]; // _Vincenzo Librandi, _, Dec 08 2011

EXTENSIONS

The next term is too large to include.

STATUS

approved

editing

Discussion
Fri Jan 09
13:15
Jon E. Schoenfield: I removed the "next term is too large to include" because it's available in the b-file; is this okay?
#14 by Charles R Greathouse IV at Sun Aug 03 14:26:12 EDT 2014
MATHEMATICA

Select[Table[(n!)^2+1, {n, 1, 5000}], PrimeQ] (* _Vincenzo Librandi, _, Dec 08 2011 *)

Discussion
Sun Aug 03
14:26
OEIS Server: https://oeis.org/edit/global/2270
#13 by Russ Cox at Sat Mar 31 12:37:58 EDT 2012
MATHEMATICA

lst={}; Do[s=n!^2; If[PrimeQ[p=s+1], AppendTo[lst, p]], {n, 5!}]; lst [From _Vladimir Joseph Stephan Orlovsky (4vladimir(AT)gmail.com), _, Sep 27 2008]

Discussion
Sat Mar 31
12:37
OEIS Server: https://oeis.org/edit/global/876
#12 by Russ Cox at Sat Mar 31 10:30:24 EDT 2012
EXTENSIONS

More terms from _James A. Sellers (sellersj(AT)math.psu.edu), _, Dec 08 1999

Discussion
Sat Mar 31
10:30
OEIS Server: https://oeis.org/edit/global/639
#11 by Russ Cox at Fri Mar 30 19:00:43 EDT 2012
AUTHOR

_G. L. Honaker, Jr. (honak3r(AT)gmail.com), _, Dec 06 1999

Discussion
Fri Mar 30
19:00
OEIS Server: https://oeis.org/edit/global/317
#10 by T. D. Noe at Thu Dec 08 13:07:18 EST 2011
STATUS

proposed

approved

#9 by Vincenzo Librandi at Thu Dec 08 08:42:42 EST 2011
STATUS

editing

proposed