OFFSET
1,1
COMMENTS
Conjecture: No term is composite (similar conjecture to A033932 for a different expression).
LINKS
David Morales Marciel, About Fortunate numbers and other similar expressions
EXAMPLE
n = 1, floor(1! / (2*(floor(1/2)!)))=0, m = 2, and 0+2=2 is prime.
n = 2, floor(2! / (2*(floor(2/2)!)))=1, m = 1, and 1+1=2 is prime.
...
n = 15, floor(15! / (2*(floor(15/2)!)))=129729600, m = 29, and 129729600+29 = 129729629 is prime.
MATHEMATICA
lpm[n_]:=Module[{c=Floor[n!/(2Floor[n/2]!)]}, NextPrime[c]-c]; Array[lpm, 80] (* Harvey P. Dale, May 15 2018 *)
PROG
(Python)
from sympy import factorial, nextprime
[(nextprime(int(factorial(n)/(2*factorial(n//2)))))-int(factorial(n)/(2*factorial(n//2))) for n in range(1, 10**5)]
CROSSREFS
KEYWORD
nonn
AUTHOR
David Morales Marciel, May 11 2015
EXTENSIONS
Edited. Wolfdieter Lang, Jun 08 2015
STATUS
approved