There are two kinds of permutation: sorted permutation and full permutation. When m different elements are taken out from n different elements, when m
That is to say, the number of permutations of all N different elements is equal to the continued product of positive integer 1 to n, and the continued product of positive integer from 1 to n is called the factorial of n, and n! Express delivery. We stipulate 0! = 1。
Extended data:
The calculation method of permutation and combination is as follows:
The arrangement a (n, m) = n× (n- 1). (n-m+ 1) = n! /(n-m)! (n is subscript and m is superscript, the same below)
Combination C(n, m)=P(n, m)/P(m, m) =n! /m! (n-m)! ;
For example:
A(4,2)=4! /2! =4*3= 12
C(4,2)=4! /(2! *2! )=4*3/(2* 1)=6