A special case arises when <spanclass="texhtml"> n = 0 </span>. Namely, <spanclass="texhtml"> 0! = 1 </span>.
### Convenience of Factorials
The definition above provides you with convenience in certain computations. For example, factorials inside fractions can often be simplified as follows:
Note that factorial as defined above applies only to non-negative integers. Actually, there is a generalization of factorials that extends to non-integers as well, which is the Gamma function. In particular, for any natural number <spanclass="texhtml"> n </span>, you have <spanclass="texhtml"> n! = Gamma(n + 1) = n * Gamma(n) </span>.
For more, see <ahref='https://en.wikipedia.org/wiki/Factorial#Extension_of_factorial_to_non-integer_values_of_argument'target='_blank'rel='nofollow'>Extension of factorial to non-integer values of argument</a>.
<spanclass="texhtml">
One tricky example that many may not know if 0! = 1. For futher proof see the link under More Information.