FactorialMathematicsWhat is Factorial?n! = n × (n − 1) × … × 2 × 1, the number of ways to arrange n different things in a row. 5! = 120, and 0! = 1 by agreement.Also written: factorials, n factorial