The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A089130 Primes of the form (n! + 2)/2. 43
2, 13, 61, 2521, 20161, 3113510401, 10461394944001, 132626429906095529318154240000001, 30207631531686917818677566034256998753632256000000001 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
s=""; For[i=1, i<5^2, If[PrimeQ[(i!+2)/2], s=s<>ToString[(i!+2)/2]<>", "]; i++ ]; Print[s] (* Vladimir Joseph Stephan Orlovsky, Apr 29 2008 *)
Select[Table[(n!+2)/2, {n, 0, 100}], PrimeQ] (* Vincenzo Librandi, Dec 07 2011 *)
PROG
(PARI) nfactp2d2(n) = { for(x=1, n, y=floor((x!+ 2)/2); if(isprime(y), print1(y", ")) ) }
(Magma) [ a: n in [1..50] | IsPrime(a) where a is (Factorial(n)+2) div 2 ];
CROSSREFS
Cf. A082672.
Sequence in context: A205532 A294052 A353177 * A081340 A211067 A296435
KEYWORD
nonn
AUTHOR
Cino Hilliard, Dec 05 2003
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 May 14 02:26 EDT 2024. Contains 372528 sequences. (Running on oeis4.)