Now we need to deal with these factorials. Can we maybe replace them with something else, something that behaves nicely with the logarithm? Enter Stirling's approximation! Stirling's approximation is a very close approximation for the logarithm of the factorial
Temperature and the Sackur–Tetrode Equation