What is Zero-Factorial? Simple answer: 0! (read "Zero Factorial") is defined to equal 1. Involved answer(s): If n! is defined as the product of all positive integers from 1 to n, then: The idea of the factorial (in simple terms) is used to compute the number of permutations (combinations) of arranging a set of n numbers. n: Number of Permutations (n!): Visual example:1 1 {1} 2 2 {1,2}, {2,1} 3 6 {1,2,3}, {1,3,2}, {2,1,3}, {2,3,1}, {3,1,2}, {3,2,1} 10 3,628,800 ummm, you get the idea... Therefore, 0 1 { } It can be said that an empty set can only be ordered one way, so 0! = 1. (责任编辑:) |