NPr Command
From GeoGebra Manual
Revision as of 13:56, 6 August 2015 by Markus.winkler (talk | contribs)
- nPr [ <Number n>, <Number r> ]
- Returns the number of possible permutations without repetition of r elements out of a list of n elements.
- Example:
nPr[10, 2]
yields 90.
CAS Syntax
- nPr [ <Number n>, <Number r> ]
- Returns the number of possible permutations without repetition of r elements out of a list of n elements.
- Example:
nPr[10, 2]
yields 90.
- Example:
nPr[n, 3]
yields \frac{n!}{(n-3)!}, which is equal to n³ - 3n² + 2n.
Note: See also BinomialCoefficient command.