Permutation with Replacement Calculator
Find the number of ordered arrangements when elements can be reused. Uses the formula PR(n,r) = nr.
| Step | Working | Result |
|---|
PR(n,r) Reference Table
| n (Objects) | r (Sample) | Formula | PR(n,r) |
|---|---|---|---|
| 2 | 2 | 22 | 4 |
| 3 | 2 | 32 | 9 |
| 4 | 2 | 42 | 16 |
| 4 | 3 | 43 | 64 |
| 6 | 2 | 62 | 36 |
| 6 | 4 | 64 | 1,296 |
| 10 | 4 | 104 | 10,000 |
| 26 | 3 | 263 | 17,576 |
| 6 | 60 | 660 | 4.887 × 1046 |
What Is Permutation with Replacement?
Permutation with replacement calculates how many ordered sequences you can form from a set of n distinct objects when you are allowed to reuse any object. This means the same element can appear more than once in your sequence, and the order in which elements appear matters.
The formula is straightforward: each position in the sequence of r elements can be filled by any of the n objects independently. So the total number of sequences is n multiplied by itself r times.
What the Variables Mean
n is the number of distinct objects in the set or population you are choosing from.
r is the number of elements in each sequence or sample you are forming.
Permutation with Replacement Examples
Permutation with replacement examples help illustrate how the formula applies in real situations.
Example 1: Letters from an Alphabet
How many 2 letter sequences can be formed from {a, b, c, d}? Here n = 4 and r = 2.
PR(4,2) = 42 = 16
The 16 sequences are: {a,a}, {a,b}, {a,c}, {a,d}, {b,a}, {b,b}, {b,c}, {b,d}, {c,a}, {c,b}, {c,c}, {c,d}, {d,a}, {d,b}, {d,c}, {d,d}.
Example 2: Rolling a Die
How many distinct sequences can result from rolling a standard 6 sided die 60 times? Here n = 6 and r = 60.
PR(6,60) = 660 = approximately 4.887 × 1046
Example 3: 4 Digit PIN Codes
How many 4 digit PIN codes exist if each digit (0 through 9) can be reused? Here n = 10 and r = 4.
PR(10,4) = 104 = 10,000
Permutation vs Permutation with Replacement
Permutation and permutation with replacement both count ordered arrangements, but they differ in whether items can be reused.
| Feature | Permutation P(n,r) | Permutation with Replacement PR(n,r) |
|---|---|---|
| Order matters | Yes | Yes |
| Replacement allowed | No | Yes |
| Formula | n! / (n−r)! | nr |
| Example P(4,2) | 12 | 16 |
| Requires n ≥ r | Yes | No |
Because replacement is allowed, PR(n,r) is always greater than or equal to P(n,r) for the same values of n and r.
Scientific Notation for Large Results
Scientific notation handles very large permutation results that would otherwise be difficult to read. When n and r are both large, nr grows exponentially and quickly exceeds billions or trillions. The calculator displays these in the form a × 10b for easy reading. For example, PR(6,60) = 660 is shown as 4.887 × 1046.