An elegant and deep application of the gamma function is in the study of the Riemann zeta function .
In terms of the gamma function , the Pi function is so that for every non-negative integer n . The gamma function is used to study the Riemann zeta function .