Documentation

Complexity.Foundations.Data.Nat.Factorial

Factorial estimates #

Elementary bounds comparing factorials and powers.

Main results #

Elementary factorial estimate: n ^ n ≤ 3 ^ n * n!, from n ^ n / n! ≤ exp n and e < 3.