Ask Your Question

Exact factorial/gamma values for half-integers

asked 2012-05-10 13:43:01 -0500

daniel.e2718 gravatar image

is it possible to return exact values of (n+1/2)! and ?(n+1/2) for n is an integer?

Particular Values of the Gamma Function

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2012-05-10 14:25:51 -0500

Mike Hansen gravatar image

Sage already supports this (at least as of 4.8):

sage: factorial(3/2)
sage: gamma(5/2)
edit flag offensive delete link more


Ah. It doesn't for decimal inputs, like 1.5, but it does for 3/2. Thanks

daniel.e2718 gravatar imagedaniel.e2718 ( 2012-05-10 15:31:42 -0500 )edit

If you give a numeric input, it'll give you a numeric output. If you want an exact output, give it an exact input.

Jason Grout gravatar imageJason Grout ( 2012-05-10 16:23:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-10 13:43:01 -0500

Seen: 553 times

Last updated: May 10 '12