The nPr Command
NPR.GIF

Command Summary

Calculates the combinatorial number of permutations.

Command Syntax

a nPr b

Menu Location

Press:

  1. MATH to access the math menu.
  2. LEFT to access the PRB submenu.
  3. 2 to select nPr, or use arrows.

Calculator Compatibility

TI-83/84/+/SE

Token Size

1 byte

nPr is the number of permutations function, defined as a nPr b = a!/(a-b)!, where a and b are nonnegative integers. The function also works on lists.

Tip: nPr has a higher priority in evaluation than operators such as + or *: for example, 5X nPr 10 will be interpreted as 5(X nPr 10) and not as (5X) nPr 10. You might wish to use parentheses around complex expressions that you will give to nPr as arguments.

6 nPr 4
     360

The combinatorial interpretation of a nPr b is the number of ways to choose b objects in order, when there are a objects in total. For example, when giving 1st, 2nd, and 3rd place awards in a competition between 10 teams, there are 10 nPr 3 different ways to assign the awards.

Error Conditions

  • ERR:DIM MISMATCH is thrown when applying nPr to two lists that have different dimensions.
  • ERR:DOMAIN is thrown for negative integers or decimals.

Related Commands

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.