keisoku

Permutation Table (nPr Chart) Calculator

Enter a maximum n to generate a table of permutation values nPr for every n and r. Computed exactly with BigInt.

Input

Enter a maximum n to display a table of permutation nPr values for varying n and r.

Enter an integer from 0 to 15.

Result

Largest value (8P8)

40,320

Permutation nPr table

Rows are n, columns are r, and each cell is the value of nPr.

n / rr = 0r = 1r = 2r = 3r = 4r = 5r = 6r = 7r = 8
n = 0100000000
n = 1110000000
n = 2122000000
n = 3136600000
n = 4141224240000
n = 5152060120120000
n = 6163012036072072000
n = 717422108402,5205,0405,0400
n = 818563361,6806,72020,16040,32040,320

Diagonal (r = n)

nPn equals n factorial


nPr = n × (n − 1) × … × (n − r + 1) = n! ÷ (n − r)!. It is 1 when r is 0 and 0 when r exceeds n.

How it works

  • The permutation nPr is the number of ways to arrange r items chosen from n distinct items in order, given by nPr = n × (n − 1) × … × (n − r + 1).
  • An equivalent form is nPr = n! ÷ (n − r)!, where n! is the factorial of n.
  • When r is 0, nPr = 1, and when r is greater than n, nPr = 0. The diagonal of the table where r = n equals n!.
  • This tool uses BigInt to return exact integer values without overflow. A maximum n limit keeps the table from growing too large.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Permutation Table (nPr Chart) Calculator