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!)
A116897 Numbers k such that k! - k!! + 1 is prime, where k!! denotes double factorial (A001147). 1
4, 6, 8, 14, 18, 28, 64, 324, 778, 882 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Next term is greater than 3000.
LINKS
EXAMPLE
6! - 6!! + 1 = 673, which is prime.
MATHEMATICA
Select[Range[900], PrimeQ[#!-#!!+1]&] (* Harvey P. Dale, Mar 27 2015 *)
CROSSREFS
Sequence in context: A173180 A200077 A256137 * A293763 A246324 A280227
KEYWORD
hard,more,nonn
AUTHOR
Giovanni Resta, Mar 04 2006
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 21 14:18 EDT 2024. Contains 372738 sequences. (Running on oeis4.)