A116897 Numbers k such that k! - k!! + 1 is prime, where k!! denotes double factorial (A006882).
4, 6, 8, 14, 18, 28, 64, 324, 778, 882
Offset: 1
Examples
6! - 6!! + 1 = 673, which is prime.
Programs
-
Mathematica
Select[Range[900],PrimeQ[#!-#!!+1]&] (* Harvey P. Dale, Mar 27 2015 *)
Comments