Introduction
The Repetition Allowed pattern (also called permutation with repetition) applies when each position can be filled by the same item multiple times. This is common in passwords, PINs, codes, and situations where choices can repeat.
This pattern is important because it simplifies counting when repetition is allowed - instead of factorials, we use exponentiation: n^r.
Pattern: Repetition Allowed (Permutation with Repetition)
Pattern
When you have n choices for each of r positions and repetition is allowed, the total number of arrangements is nr.
Formula: Total outcomes = nr
(Each of the r positions independently has n choices.)
Step-by-Step Example
Question
How many 3-letter codes can be formed using the letters A, B, C, D if repetition is allowed?
Solution
-
Step 1: Identify what is given.
There are n = 4 letters (A, B, C, D). The code length is r = 3. Repetition is allowed. -
Step 2: Apply the repetition rule.
Since each position can be any of the 4 letters independently, use the formulanr. -
Step 3: Substitute and compute.
Total codes =43 = 4 × 4 × 4 = 64. -
Final Answer:
There are 64 different 3-letter codes when repetition is allowed. -
Quick Check:
Think: For the 1st letter 4 options, 2nd letter 4 options, 3rd letter 4 options → 4 × 4 × 4 = 64 ✅
Quick Variations
1. Codes with digits: e.g., 4-digit PIN from 0-9 → 104 = 10,000.
2. Mixed positions: letters + digits (e.g., 2 letters then 3 digits) → multiply parts: 26² × 10³.
3. Repetition not allowed: use permutations (nPr) instead - distinct formula.
Trick to Always Use
- Step 1: Check if repetition is allowed. If YES → use
nr. - Step 2: Break mixed structures into independent blocks and multiply (e.g., letters block × digits block).
Summary
Summary
When each position can repeat choices:
- Use nr where n = choices per position, r = number of positions.
- Apply to passwords, PINs, codes, and independent repeated selections.
- For mixed formats, compute each block separately and multiply results.
