OFFSET
0,4
COMMENTS
a(n) is divisible by A095987(n+1), and is nonzero for n > 1. - Robert Israel, Mar 10 2016
LINKS
Robert Israel, Table of n, a(n) for n = 0..800
EXAMPLE
a(4) = 5*3 mod 4*2 = 15 mod 8 = 7.
MAPLE
seq(doublefactorial(n+1) mod doublefactorial(n), n=0..100); # Robert Israel, Mar 10 2016
PROG
(Python)
for n in range(2, 77):
prOdd = prEven = 1
for i in range(1, n, 2): prOdd *= i
for i in range(2, n, 2): prEven *= i
if n&1: print str(prEven % prOdd)+', ',
else: print str(prOdd % prEven)+', ',
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alex Ratushnyak, Jul 10 2013
STATUS
approved