OFFSET
0,2
FORMULA
a(n) ~ Gamma(1/4) * 2^(n - 1/4) * n^(n + 3/4) / exp(n) if n is even and a(n) ~ sqrt(Pi) * 2^(n + 9/4) * n^(n + 3/4) / (Gamma(1/4) * exp(n)) if n is odd. - Vaclav Kotesovec, Jul 09 2024
a(n) = Product_{k=0..floor((n-1)/2)} 2*(n-2*k)*(2*n-4*k-1). - Andrew Howroyd, Jul 09 2024
MATHEMATICA
a[0] = 1; a[n_] := a[n] = (2 n)!/a[n - 1];
Table[a[n], {n, 0, 30}]
(* or *)
FullSimplify[Table[4^n * Gamma[3/4 + n/2] * Gamma[1 + n/2] / If[EvenQ[n], Sqrt[2]*Pi/Gamma[1/4], Sqrt[Pi]*Gamma[1/4]/4], {n, 0, 20}]] (* Vaclav Kotesovec, Jul 09 2024 *)
PROG
(PARI) a(n)={my(t=1); for(n=1, n, t = (2*n)!/t); t} \\ Andrew Howroyd, Jul 09 2024
(PARI) a(n)={prod(k=0, (n-1)\2, 2*(n-2*k)*(2*n-4*k-1))} \\ Andrew Howroyd, Jul 09 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jul 09 2024
STATUS
approved