Simplify factorials Question [closed]
Hi , sorry this may seem so easy but i'm just starting sage !
I want this code to show the answer, how can i do that ? how can i change the code ?
n=var('n)
f=factorial(2*n + 3)/factorial(n + 1)
f.simplify_factorial()
output is :
factorial(2*n + 3)/factorial(n + 1)
Could you develop on what you mean by "the answer"?
The answer would look like this: $$(2n+3)(2n+2)(2n+1)(2n)(2n-1) \cdots (2n-n+2)$$ It would have $n+2$ factors. Not very useful, and I am not sure why it's needed.