How was this simplified

No.12708426 ViewReplyOriginalReport
I am wondering how the gamma distribution here was simplified, I've been looking online but can't find out how they did it. In particular I'm wondering how they simplified gamma(n+1)/2 and gamma(n/2).