Why does 0! is equal to 1 ?
When we have to calculate the factorial of a non-negative integer n, then it is denoted by n!, is the product of all positive integer less than or equal to n . so, π ! = π β ( π β 1 ) β ( π β 2 ) β ( π β 3 ) β . . .3 β 2 β 1 n ! = n β ( n β 1 ) β ( n β 2 ) β ( n β 3 ) β . . .3 β 2 β 1 However, the recursive definition of factorial is of more use in this proof. π ! = { 1 π β ( π β 1 ) ! π = 0 π > 0 n ! = { 1 n = 0 n β ( n β 1 ) ! n > 0 The recursive definition of Factorial leads to one interesting way of expressing factorial numbers . π ! = ( π + 1 ) ! ( π + 1 ) n ! = ( n + 1 ) ! ( n + 1 ) This is valid since, as we expand ( π + 1 ) ! ( n + 1 ) ! from the recursive definition, we can cancel ( π + 1 ) ( n + 1 ) term from both numerator and denominator to get π ! n ! . Or we can even calculate factorial in the numerator and then evaluate the division For example, 5 ! = 6 ! 6 = 720 6 = 4 ! = 5 ! 5 = 120 5 ...