G = ...@(n)rats(gamma(n+.5)/pi^.5) G(0)G(1)G(-1)G(-2)G(-3)
Standard input is empty
G = @(n) rats (gamma (n + .5) / pi ^ .5) ans = 1 ans = 1/2 ans = -2 ans = 4/3 ans = -8/15
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!