In mathematics, the gamma function (Γ("z")) is a key topic in the field of special functions. Γ("z") is an extension of the factorial function to all complex numbers except negative integers. For positive integers, it is defined as formula_1