OFFSET
1,3
COMMENTS
(2n-1)!! is the product of first n odd numbers.
EXAMPLE
a(4) = 1*3*5*7 mod (1*2*3*4) = 105 mod 24 = 9.
MATHEMATICA
o = 1; Reap[For[n = 1, n <= 99, n += 2, o *= n; m = Mod[o, (Quotient[n, 2] + 1)!]; Sow[m]]][[2, 1]] (* Jean-François Alcover, Oct 05 2017, translated from Alex Ratushnyak's Python code *)
PROG
(Python)
import math
o=1
for n in range(1, 99, 2):
o*=n
print str(o % math.factorial(n//2+1))+', ',
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Nov 28 2013
STATUS
approved