PART IX — PATTERNS, LOGIC & OLYMPIAD MATHEMATICS
The Multiplication and Addition Principles, Factorials, Permutations,
Combinations, Arrangements with Repetition, Circular Arrangements, Grid
Paths and Distributions
1. Use the multiplication (AND) and addition (OR) principles.
2. Use factorial notation.
3. Count arrangements (permutations) nPr.
4. Count selections (combinations) nCr.
5. Arrange letters of words with repeated letters.
6. Count circular arrangements.
7. Count paths on a grid.
8. Count divisors from prime factorisation.
9. Distribute identical objects (stars and bars).
10. Appreciate Indian contributions to combinatorics.
95.1 Counting Principles
MULTIPLICATION PRINCIPLE: if one choice can be made in m ways AND then another in n ways, together m × n ways.
ADDITION PRINCIPLE: if a choice is made in m ways OR (separately) n ways, there are m + n ways.
3 shirts and 4 trousers → 12 outfits.
| FORMULAS | n! = n(n − 1)…1; nPr = n!/(n − r)!; nCr = n!/[r!(n − r)!] |
Step 1: ORDER MATTERS → permutation; ORDER DOES NOT MATTER → combination.
Step 2: Arrangements of n objects with groups of identical ones: n!/(p! q! …).
Step 3: Circular arrangements of n different people: (n − 1)!.
| Task | Count |
|---|---|
| Arrange 5 books on a shelf | 5! = 120 |
| Choose 2 of 5 students | 5C2 = 10 |
| Handshakes among 10 people | 10C2 = 45 |
| Letters of BOOK | 4!/2! = 12 |
| Letters of MISSISSIPPI | 11!/(4! 4! 2!) = 34,650 |
| 6 people round a table | 5! = 120 |
⚠ Common Mistake: Decide first whether order matters. Choosing a team of 3 is a combination;
choosing a captain, vice-captain and secretary is a permutation.
95.2 Further Techniques
Paths moving only right or up across an m × n grid: (m + n)Cn. A 3 × 3 grid: 6C3 = 20. If N = p^a × q^b × r^c, N has (a + 1)(b + 1)(c + 1) divisors. 360 = 2³ × 3² × 5 → 4 × 3 × 2 = 24. n identical objects into k boxes: (n + k − 1)C(k − 1). 5 balls into 3 boxes: 7C2 = 21.
WORKED EXAMPLES
Section A: Easy Problems
Problem 1: 3 shirts and 4 trousers: how many outfits?
✔ Solution
12.
Problem 2: 3-letter codes from 26 letters (repeats allowed)?
✔ Solution
26³ = 17,576.
Problem 3: Value of 5!?
✔ Solution
120.
Problem 4: Arrangements of the letters of BOOK?
✔ Solution
12.
Problem 5: Ways to choose 2 of 5 students?
✔ Solution
10.
Problem 6: Handshakes when 10 people all shake hands once?
✔ Solution
45.
Section B: Medium Problems
Problem 7: 4-digit numbers with all digits different?
✔ Solution
9 × 9 × 8 × 7 = 4,536.
Problem 8: Committees of 3 from 8 people?
✔ Solution
8C3 = 56.
Problem 9: Ways 6 people can sit round a table?
✔ Solution
5! = 120.
Problem 10: Shortest grid paths from one corner of a 3 × 3 grid to the opposite corner?
✔ Solution
6C3 = 20.
Problem 11: Arrangements of MISSISSIPPI?
✔ Solution
34,650.
Problem 12: Value of 7P3?
✔ Solution
7 × 6 × 5 = 210.
Section C: Challenge Problems
Challenge Problem 13: A committee of 3 men and 2 women from 5 men and 4 women?
✔ Solution
5C3 × 4C2 = 10 × 6 = 60.
Challenge Problem 14: Number of divisors of 360?
✔ Solution
24.
Challenge Problem 15: Ways to put 5 identical balls into 3 different boxes?
✔ Solution
21.
Challenge Problem 16: Diagonals of a decagon using combinations?
✔ Solution
10C2 − 10 = 35.
OLYMPIAD CORNER
Olympiad Problem O-1: Sushruta (about 600 BC) counted dishes made from 6 basic tastes using one or more tastes. How many?
✔ Solution
2⁶ − 1 = 63.
Olympiad Problem O-2: In how many ways can 4 letters be put in 4 addressed envelopes so that none is in the right one?
✔ Solution
Derangements of 4: 9.
Olympiad Problem O-3: How many subsets does a set of 10 elements have?
✔ Solution
2¹ = 1,024.⁰
BRAIN TEASERS
Brain Teaser 1
What is 0!?
Answer: 1 (by definition; there is one way to arrange nothing).
Brain Teaser 2
Is nCr = nC(n − r)?
Answer: Yes — choosing r to take is choosing n − r to leave.
Brain Teaser 3
How many ways to answer 10 true/false questions?
Answer: 2¹ = 1,024.⁰
Sushruta’s 63 combinations of tastes is one of the oldest counting problems.
Bhaskara II gave formulas for permutations and combinations in the Lilavati (1150 AD).
1. AND → multiply; OR → add.
2. nPr = n!/(n − r)!; nCr = n!/[r!(n − r)!].
3. Repeated letters: divide by the factorials of repeats.
4. Circular: (n − 1)!; grid paths (m + n)Cn.
PRACTICE EXERCISE 95.A — Easy
1. Outfits from 4 shirts, 3 trousers, 2 pairs of shoes
2. Arrangements of 4 books
3. Handshakes among 6 people
4. 2-digit numbers with different digits
5. Arrangements of LEVEL
6. 6!
PRACTICE EXERCISE 95.B — Medium
1. Choose 3 of 10
2. 8P3
3. 7 people round a table
4. Paths across a 4 × 3 grid
5. Arrangements of BANANA
6. 3-digit even numbers with all digits different
PRACTICE EXERCISE 95.C — Challenge
1. Divisors of 720
2. Committees of 4 from 6 men and 5 women with at least 1 woman
3. 7 identical sweets among 3 children, each getting at least 1
4. Derangements of 3 objects
ANSWER KEY — CHAPTER 95
Exercise 95.A
1. 24 2. 24 3. 15 4. 81 5. 5!/(2! 2!) = 30 6. 720
Exercise 95.B
1. 120 2. 336 3. 720 4. 7C3 = 35 5. 6!/(3! 2!) = 60 6. Ending 0: 72; ending 2, 4, 6, 8: 4 × 64 = 256; total 328
Exercise 95.C (notes)
1. 2⁴ × 3² × 5 → 5 × 3 × 2 = 30 2. 11C4 − 6C4 = 330 − 15 = 315 3. 6C2 = 15 4. 2
CHAPTER 95 — NEW TERMS FOR GLOSSARY
| Term | Definition |
|---|---|
| Factorial | n! = n × (n − 1) × … × 1. |
| Permutation | An arrangement in which order matters. |
| Combination | A selection in which order does not matter. |
| Derangement | An arrangement with no object in its original place. |