The gamma function Γ[x] is defined as: Γ[x]=∫0∞tx−1e−tdt This extends the factorial values so that Γ[x]=(x−1)! for x∈{1,2,…}.