OFFSET
0,7
COMMENTS
Let f_n(m) be a multifactorial: for m = positive integer, f_n(m) = Product_{k=0..floor((m-1)/n)} (m - k*n). E.g., f_2(m) = m!!. f_n(0) is defined as 1.
a(2m) = a(2m+1) = the largest odd divisor of m! (which is A049606).
MAPLE
a:= n-> (d-> gcd(d(n), d(n-1)))(doublefactorial):
seq(a(n), n=0..40); # Alois P. Heinz, Oct 26 2019
MATHEMATICA
f[n_] := GCD[n!!, (n - 1)!! ]; Table[ f[n], {n, 35}]
GCD@@#&/@Partition[Range[0, 40]!!, 2, 1] (* Harvey P. Dale, May 04 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 18 2004
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jul 19 2004
Missing a(0)=1 inserted by Alois P. Heinz, Oct 26 2019
STATUS
approved