n ! = 2 π n ( n e ) n ( 1 + O ( 1 n ) ) . {\displaystyle n!={\sqrt {2\pi n}}\left({\frac {n}{e}}\right)^{n}\left(1+O\left({\frac {1}{n}}\right)\right).}