Documentation

Cslib.Foundations.Data.Nat.Factorial

A logarithmic lower bound for the factorial #

Bounding one term of the exponential series gives n log n - n ≤ log (n!), including at zero.

The logarithm of the factorial is at least n log n - n.