JEE maths study guide
Permutations with repeated letters for JEE maths
For permutations with repeated letters, divide the factorial of the total number of letters by the factorial of each repeated count. This counts linear arrangements of all available letters, with identical copies indistinguishable. If the letter counts are p1, p2, and so on, the count is n!/(p1!p2!…), where their sum is n.
Made for: Indian JEE maths students who know factorials and basic arrangements.
The short version
What should you take away?
- Count every occurrence before you calculate the total factorial.
- Divide by one factorial for each group of identical letters.
- The formula counts arrangements of the full fixed inventory.
- After a required letter is fixed, recount the remaining letters.
01
Why do repeated letters require a factorial denominator?
Identical copies do not create a new visible arrangement when they exchange places. A labeled factorial counts those exchanges separately, so it overcounts.
Suppose a word has n letters. Temporarily give a different label to every copy. There are n! linear arrangements of these distinct labels. When a letter appears p times, its p artificial labels can exchange positions in p! ways without any change in the visible sequence.
Each visible sequence therefore corresponds to the product of these internal factorial counts. Division removes exactly that overcount. A letter that appears once contributes 1!, which equals 1. The method counts all sequences, including those that have no dictionary meaning.
The inventory remains fixed: every original copy appears exactly once in each complete arrangement. This differs from a rule that permits another copy at every position. The formula also assumes a line of positions. Circular arrangements and additional adjacency restrictions need their own analysis.
02
How many distinct arrangements use all letters of COCOA?
The five letters of COCOA contain two Cs, two Os, and one A. Their distinct full-length linear arrangements number 5!/(2!2!) = 30.
First record the inventory from the complete word. Its positions contain C, O, C, O, and A. Thus the total is five letters, not three. The three letter types have counts 2, 2, and 1. These counts add to five, as required.
If the Cs receive labels C1 and C2, and the Os receive labels O1 and O2, the five labeled objects have 5! arrangements. Each visible arrangement occurs 2! times from exchanges of the C labels. It also occurs 2! times from exchanges of the O labels.
Divide the labeled total by both factors. The count is 5!/(2! × 2! × 1!) = 120/4 = 30. The denominator is the product 2! × 2!, rather than the sum 2! + 2!. These happen to agree numerically here, but the product follows from the independent label exchanges.
- Record each letter count and their total.
- Write the total factorial above the product of repeated-count factorials.
- Evaluate the factorials and retain an integer arrangement count.
03
Which repetition assumptions change the counting method?
A fixed word supplies a limited number of each letter. Unrestricted repeated selection supplies a fresh choice at every position. These are different counting problems.
For five positions that each accept C, O, or A independently, there are 3^5 = 243 sequences. Many contain too many copies of one letter to come from COCOA. Therefore 3^5 does not count arrangements of its fixed inventory. The available copies determine which formula applies.
A condition can change the inventory before arrangement. If an arrangement of COCOA must begin with A, the remaining four positions contain two Cs and two Os. Their count is 4!/(2!2!) = 6. The unrestricted count of 30 includes arrangements with other first letters.
The full-inventory formula cannot directly count shorter strings. For a shorter string, different selections can contain different repetition counts. Each possible inventory needs its own calculation. The word length, number of positions, and rules about available copies must therefore be explicit before a factorial calculation.
04
Can you count a different word with a fixed first letter?
Count all distinct linear arrangements of PEPPER. Then count only the arrangements whose first letter is P. Use every letter in both parts.
Write the inventory before the first calculation. Do not infer the number of Ps from the beginning of the word alone. After the unrestricted count, fix one P in the first position. Recount the remaining copies before you write the second factorial expression.
A fixed first P does not give three separate choices among its identical copies. The copies have no distinct identities in the visible arrangement. A multiplication by three at that stage would repeat each permitted sequence. Only the remaining positions need an arrangement count.
Answer: PEPPER has six letters: three Ps, two Es, and one R. The unrestricted count is 6!/(3!2!) = 60. After a first P is fixed, the remaining five letters have two Ps, two Es, and one R. Thus the restricted count is 5!/(2!2!) = 30.
Questions students ask next
What else should you know?
Does every arrangement need to form a meaningful word?
No. These permutation counts include every allowed letter sequence. A meaningful-word restriction requires additional information.
Why do singly occurring letters not appear in the denominator?
Their factorial factors are 1!, which equals 1. Omitting those factors does not change the count.
Can the number of distinct arrangements be fractional?
No. It counts a finite set of sequences. A fractional result indicates an arithmetic error or an unsuitable counting expression.
What changed: Initial article prepared with Codex and its subagents, textbook sources, and a separate automated review. Mathematics reviewed and publication approved by AIR1 site owner on 2026-11-03. No independent professional review is claimed.