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!)
A051856 Numbers n such that (n!)^2+n!+1 is prime. 6
0, 1, 2, 3, 4, 6, 76, 2837, 6001, 7076 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
REFERENCES
H. Dubner, Factorial and primorial primes, J. Rec. Math., 19 (No. 3) (1987)
LINKS
C. K. Caldwell, The Prime Pages
C. Nash, Prime Form [broken link]
M. Oakes, Re: Gaussian primorial and factorial primes, Primeform, Dec 21 2010
Mike Oakes, Andrew Walker, David Broadhurst, Gaussian primorial and factorial primes, digest of 7 messages in primeform Yahoo group, Dec 20 - Dec 21, 2010.
EXAMPLE
6 is in the sequence because (6!)^2+6!+1=519121 is prime.
MATHEMATICA
Do[If[PrimeQ[n!^2+n!+1], Print[n]], {n, 600}] (* Farideh Firoozbakht, Jul 12 2003 *)
CROSSREFS
Sequence in context: A033179 A067244 A084811 * A135236 A029962 A259388
KEYWORD
nonn,hard,more
AUTHOR
Andrew Walker (ajw01(AT)uow.edu.au), Dec 13 1999
EXTENSIONS
Edited by R. J. Mathar, Aug 08 2008
a(8)-a(10) from Serge Batalov, Nov 24 2011
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 24 08:56 EDT 2024. Contains 371934 sequences. (Running on oeis4.)