STATUS
proposed
approved
proposed
approved
editing
proposed
Also rational part of numerator of GAMMAGamma(n/2+1)/GAMMAGamma(n/2+1/2) (cf. A036039).
The sequence GAMMAGamma(n/2+1)/GAMMAGamma(n/2+1/2), n >= 0, begins 1/Pi^(1/2), 1/2*Pi^(1/2), 2/Pi^(1/2), 3/4*Pi^(1/2), 8/3/Pi^(1/2), 15/16*Pi^(1/2), 16/5/Pi^(1/2), ...
approved
editing
editing
approved
approved
editing
proposed
approved
editing
proposed
return b//gcd(a, b) # Chai Wah Wu, Apr 03 2021
(Python)
from sympy import gcd, factorial2
def A004731(n):
if n <= 1:
return 1
a, b = factorial2(n-2), factorial2(n-1)
return b//gcd(a, b) # Chai Wah Wu, Apr 03 2021
approved
editing
reviewed
approved