lgamma

lgamma(n)

Try it yourself:

See also:
All functions