Previous Up Next

2.7.3  Arrangements : perm nPr

perm ou nPr takes as argument two integers n and p.
perm(n,p) or nPr(n,p) returns Anp.
Input :

perm(5,2)

Output :

20

Previous Up Next