OFFSET
0,3
REFERENCES
S. Janson, On the traveling fly problem, Graph Theory Notes of New York, Vol. XXXI, 17, 1996.
LINKS
Robert Israel, Table of n, a(n) for n = 0..3327
S. Janson, On the traveling fly problem
FORMULA
From Robert Israel, Jan 07 2019: (Start)
MAPLE
f:= proc(n) local m, r;
m:= floor(n/2);
if n::even then 2^(2*m - padic:-ordp(binomial(2*m+1, m), 2) - padic:-ordp(m+1, 2))
else
r:= binomial(2*m+2, m+1)/(m+2);
r/2^padic:-ordp(r, 2);
fi
end proc:
map(f, [$0..50]); # Robert Israel, Jan 07 2019
MATHEMATICA
Numerator[Table[n!!/(n+3)!!, {n, 0, 40}]] (* Harvey P. Dale, Nov 26 2015 *)
PROG
(PARI) a(n) = numerator(prod(i=0, floor((n-1)/2), n-2*i)/prod(i=0, floor((n+2)/2), n+3-2*i)) \\ Michel Marcus, May 24 2013
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
STATUS
approved