• Practice
  • About 16 min
  • 5 practice questions

Words with repeated letters and the rank of a word

Apply vowels-together and vowels-apart conditions to words with repeated letters, and find the dictionary rank of a word whose letters are all different.

If something looks wrong, please tell us.

Letter questions combine two ideas from the foundation course: dividing by the factorials of repeated letters, and bundling objects that must stay together. Exams add a third type: the position, or rank, of a word when all arrangements of its letters are listed in dictionary order. This lesson covers all three with one example each worked in full.

Repeated letters with a condition

The rule from the foundation course still applies: n letters with one letter repeated p times and another q times have n!/(p! q!) arrangements. When a condition is added, apply the same division to every part separately: to the bundle, to the letters outside it and to the gaps.

Worked example 1: BALLOON

BALLOON has 7 letters: B, A, L, L, O, O, N, with L twice and O twice. All arrangements: 7!/(2! × 2!) = 5040/4 = 1260.

Vowels together: the vowels are A, O, O. Bundle them. Outside the bundle are B, L, L, N, so we arrange 5 units (the bundle and 4 letters) with L repeated: 5!/2! = 60. Inside the bundle, A, O, O can be ordered in 3!/2! = 3 ways. Total 60 × 3 = 180.

No two vowels together: arrange the consonants B, L, L, N in 4!/2! = 12 ways. They create 5 gaps. Choose 3 of the 5 gaps for the vowels: ⁵C₃ = 10, and order A, O, O in those gaps in 3!/2! = 3 ways. Total 12 × 10 × 3 = 360. Note that we choose gaps with C and then arrange the vowels separately, because the vowels include a repeat.

The rank of a word

Imagine all arrangements of the letters of a word listed in dictionary (alphabetical) order. The rank of the word is its position in that list. Counting the list one by one is impossible for long words, so we count how many words come before it.

  1. Write the letters in alphabetical order.
  2. Look at the first letter of the word. Count the unused letters that are alphabetically smaller. Each of them could start a word that comes earlier; each such start is followed by (remaining letters)! arrangements.
  3. Fix the actual first letter, cross it off, and repeat for the second letter with the letters left.
  4. Add all these counts and add 1 for the word itself.

Worked example 2: the rank of MOTHER

Alphabetical order: E, H, M, O, R, T. First letter M: E and H are smaller, so 2 × 5! = 240 words come before. Second letter O, from E, H, O, R, T: E and H are smaller, so 2 × 4! = 48. Third letter T, from E, H, R, T: E, H and R are smaller, so 3 × 3! = 18. Fourth letter H, from E, H, R: only E is smaller, so 1 × 2! = 2. Fifth letter E, from E, R: none smaller, 0. The last letter adds nothing. Words before MOTHER: 240 + 48 + 18 + 2 = 308. Rank = 308 + 1 = 309.

Worked example 3: the rank of DELHI

Alphabetical order: D, E, H, I, L. First letter D: nothing smaller, 0. Second E, from E, H, I, L: nothing smaller, 0. Third L, from H, I, L: H and I are smaller, 2 × 2! = 4. Fourth H, from H, I: 0. Rank = 0 + 0 + 4 + 0 + 1 = 5. You can confirm by listing: DEHIL, DEHLI, DEIHL, DEILH, DELHI.

Rank = 1 + the sum, over each position, of (number of unused letters smaller than the letter there) × (number of letters after that position)!

Key takeaways: with repeated letters, divide by the repeats in every piece you count, including the inside of a bundle. For no two vowels together, arrange consonants, then choose gaps. For rank, count the words before it letter by letter, and never forget the final + 1.

Check your understanding

  1. 1. How many arrangements of the letters of SUCCESS are there?

    1. 5040
    2. 420
    3. 840
    4. 210
    Show answer

    Answer: B. 7 letters with S three times and C twice: 7!/(3! × 2!) = 5040/12 = 420.

  2. 2. In how many arrangements of the letters of BANANA are the two N's NOT together?

    1. 40
    2. 20
    3. 60
    4. 30
    Show answer

    Answer: A. All: 6!/(3! × 2!) = 60. N's together: bundle NN with B, A, A, A: 5!/3! = 20. Not together: 60 − 20 = 40.

  3. 3. All arrangements of the letters A, C, T are listed in dictionary order. What is the rank of CAT?

    1. 3
    2. 2
    3. 4
    4. 5
    Show answer

    Answer: A. The list is ACT, ATC, CAT, CTA, TAC, TCA. By the rule: C has 1 smaller letter (A), 1 × 2! = 2; then A, T: 0; rank 2 + 1 = 3.

  4. 4. All arrangements of the letters of BOAT are listed in dictionary order. What is the rank of BOAT?

    1. 8
    2. 9
    3. 10
    4. 7
    Show answer

    Answer: B. Order A, B, O, T. B: A smaller, 1 × 3! = 6. O from A, O, T: A smaller, 1 × 2! = 2. A from A, T: 0. Rank 6 + 2 + 1 = 9.

  5. 5. In how many arrangements of the letters of LETTER do the two E's come together?

    1. 180
    2. 120
    3. 60
    4. 30
    Show answer

    Answer: C. Bundle EE. Units: EE, L, T, T, R with T twice: 5!/2! = 60. The bundle EE has only 1 internal order since the E's are identical.

Privacy · Terms · Refunds · Delivery