From Wikipedia n!≈nne−n Worse approximation ln(n!)=nlnn−n n!≈2πn(en)n Stirling’s Approximation Better approximation by second ln(n!)=nlnn−n+O(lnn) O(lnn) are the correction terms Next term is 21ln(2πn)