login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116897 Numbers n such that n!-n!!+1 is prime, where n!! 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

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

EXAMPLE

6!-6!!+1=673, which is prime.

MATHEMATICA

Select[Range[900], PrimeQ[#!-#!!+1]&] (* Harvey P. Dale, Mar 27 2015 *)

CROSSREFS

Cf. A000142, A001147, A116896.

Sequence in context: A173180 A200077 A256137 * A293763 A246324 A280227

Adjacent sequences:  A116894 A116895 A116896 * A116898 A116899 A116900

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 10 14:27 EST 2019. Contains 329896 sequences. (Running on oeis4.)