I think my teacher mentioned briefly an exact formula for n!, involving integrals of arctan etc. He said that the formula was rare even though it was derived 100 years ago, but I've not heard of stirlings approximation. However I think I can solve it using stirlings approximation, thank you!