The notation n! is defined for integers n ≥ 0 as
And the a binary logarithmic of factorial n can be tight bounded into n ⋅ lg n,Stirling's Approximation
A loose upper bound on the factorial function is n! ≤ nn, which leads to this Stirling’s Approximation: