login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051855 Numbers n such that (n!)^4+1 is prime. 2
0, 1, 2, 3, 4, 13, 112, 328, 11123 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..9.

C. K. Caldwell, The Prime Pages

C. Nash, Prime Form [?Broken link]

MATHEMATICA

Select[Range[0, 350], PrimeQ[(#!)^4 + 1]&] (* Vincenzo Librandi, Aug 15 2013 *)

PROG

(PARI) isok(n) = isprime(n!^4 + 1); \\ Michel Marcus, Aug 15 2013

(MAGMA) [n: n in [1..300] | IsPrime(Factorial(n)^4+1)]; // Vincenzo Librandi, Aug 15 2013

CROSSREFS

Cf. A002981, A002982, A046029.

Sequence in context: A295755 A089142 A123215 * A058070 A151413 A031241

Adjacent sequences:  A051852 A051853 A051854 * A051856 A051857 A051858

KEYWORD

nonn

AUTHOR

Andrew Walker (ajw01(AT)uow.edu.au), Dec 13 1999

EXTENSIONS

a(9) from Robert Price, Jul 24 2014

Prepended a(1)=0, Robert Price, Sep 01 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 21 16:47 EST 2020. Contains 331114 sequences. (Running on oeis4.)