Skip to content

Permutation, Combination and Probability

Counting arrangements and selections, and the probability of events. Open a topic to read its notes and practise it, then take the mixed tests: each question shows whether you were right and why, as soon as you answer.

Topics: notes and practice

Rule of sum and product15 questions

Every counting problem starts with one question: is the job done in stages, one after another, or in alternative ways, one or the other?

Rule of product (stages, the word "and"). If one job can be done in m ways and a second in n ways, both together can be done in m × n ways. With 4 routes from A to B and 3 from B to C, there are 12 ways from A to C. The rule extends to any number of stages: one starter from 3, one main from 5 and one dessert from 2 give 3 × 5 × 2 = 30 meals.

Rule of sum (alternatives, the word "or"). If a job can be done in m ways or in n ways, with no way in both lists, it can be done in m + n ways. A journey by any one of 5 trains or any one of 3 buses can be made in 8 ways. If some ways appear in both lists, add and then subtract the overlap.

Most questions need both: multiply the stages inside each case, then add the cases.

Repetition. If each of r places can be filled in n ways independently, the total is n^r. A 6-question true or false paper can be answered in 2⁶ = 64 ways. Codes of 3 letters from A, B, C, D with repeats allowed: 4³ = 64.

Restrictions. Fill the restricted place first. A 3-digit number cannot begin with 0, so there are 9 × 10 × 10 = 900 of them. If neighbours must differ, each new item has one choice fewer: colouring 3 rooms in a row from 4 colours, no two adjacent rooms alike, gives 4 × 3 × 3 = 36.

Divisors. Write the number as a product of prime powers. The number of divisors is the product of (power + 1). 72 = 2³ × 3², so it has 4 × 3 = 12 divisors.

Factorial. n! = n × (n − 1) × ... × 2 × 1, so n different things in a row can be arranged in n! ways. 5! = 120, and 0! = 1.

Permutation or combination? Ask whether order matters. Arranging, ranking, seating, forming words and numbers: permutation. Choosing a committee, team, hand of cards or pair: combination.

Formula Value
nPr (arrangements of r out of n different things) n! ÷ (n − r)!
nCr (selections of r out of n different things) n! ÷ (r! × (n − r)!)
Link between them nPr = nCr × r!

Useful facts: nC0 = nCn = 1, nCr = nC(n − r), and nCr + nC(r − 1) = (n + 1)Cr. 7P2 = 7 × 6 = 42 and 7C2 = 42 ÷ 2 = 21.

Problem 1. A PIN has 4 digits, each chosen from 0 to 9, and digits may repeat. How many PINs are possible?

Answer: 10,000

Each of the 4 places has 10 choices, independently. Total: 10 × 10 × 10 × 10 = 10⁴ = 10,000.

Problem 2. A student must choose one project: 7 are in science, 5 in arts and 3 in commerce. In how many ways can the choice be made?

Answer: 15

The student takes one project from one stream only, so the cases add. 7 + 5 + 3 = 15.

Problem 3. How many positive divisors does 72 have, and how many of them are odd?

Answer: 12 divisors, 3 of them odd

72 = 2³ × 3². The power of 2 can be 0, 1, 2 or 3 (4 ways) and the power of 3 can be 0, 1 or 2 (3 ways): 4 × 3 = 12. A divisor is odd only if the power of 2 is 0, which leaves 1 × 3 = 3 odd divisors (1, 3, 9).

Practise this topic15 questions, each with its solution

Arrangements of letters and digits15 questions

Arrangements of letters and digits are permutations: the same letters or digits in a different order make a different word or number.

All different. n different letters in a row can be arranged in n! ways. Taking r of them, in order, gives nPr = n × (n − 1) × ... with r factors. From 7 different letters, 3-letter arrangements number 7 × 6 × 5 = 210.

Letters with repeats. If a word has n letters, one repeating p times and another q times, the arrangements number n! ÷ (p! × q!). BALLOON (L twice, O twice): 7! ÷ (2! × 2!) = 1,260. Count the repeats first, every time.

Selecting, then arranging. When the letters must be chosen first (say 3 consonants and 2 vowels from a larger set), multiply the number of selections by the arrangements of the chosen letters.

Forming numbers.

  • A number cannot start with 0.
  • Fill the restricted places first: the last digit for an even number or a multiple of 5 (0 or 5), the last two digits for a multiple of 4, the first digit for "greater than".
  • 4-digit numbers from 0, 1, 2, 3, no repeat: 3 × 3 × 2 × 1 = 18.
  • If the last digit can be 0 and also non-zero, split into cases: ending in 0, and ending in the other allowed digit (where the first digit cannot be 0).
  • With repetition allowed, every place has all the choices, except the first place which loses 0.

Rank of a word. For each place in turn, count the words with a smaller letter there ((remaining places)! each), then add 1. BEAD: words starting with A are 3! = 6, with BA 2, with BD 2. Rank: 6 + 2 + 2 + 1 = 11.

Sum of the numbers formed. If n different digits are used once each in all possible ways, each digit appears (n − 1)! times in every place. The sum is (n − 1)! × (sum of digits) × (111...1 with n ones). The digits 2, 4, 6 give 2 × 12 × 111 = 2,664.

Rank with repeated letters. Count the words with a smaller letter in each place, dividing by the factorials of the repeats left. LEVEL (E, E, L, L, V): words starting with E are 4! ÷ 2! = 12; starting LEE and LEL, 2 each; then LEVEL itself. Rank: 12 + 2 + 2 + 1 = 17.

Grid paths. A path of m steps right and n steps up is an arrangement of m R's and n U's: (m + n)! ÷ (m! × n!). 4 right and 3 up give 7! ÷ (4! × 3!) = 35.

Divisors. If N = 2³ × 3² × 5, the number of divisors is (3 + 1)(2 + 1)(1 + 1) = 24 and their sum is (1 + 2 + 4 + 8)(1 + 3 + 9)(1 + 5) = 1,170. Even divisors need at least one 2: 3 × 3 × 2 = 18. Odd divisors leave out the 2: 3 × 2 = 6.

Problem 4. How many 3-letter code words can be made from the letters A, B, C, D, E and F, with no letter repeated, if the code must start with a vowel?

Answer: 40

The vowels are A and E, so the first letter has 2 choices. The other two places are filled from the 5 remaining letters, in order: 5P2 = 20. Total: 2 × 20 = 40.

Problem 5. From 6 consonants and 4 vowels, how many 5-letter arrangements can be made with 3 consonants and 2 vowels, no letter used twice?

Answer: 14,400

Selections: 6C3 × 4C2 = 20 × 6 = 120. Each set of 5 letters can be arranged in 5! = 120 ways. Total: 120 × 120 = 14,400.

Problem 6. How many 4-digit numbers greater than 5,000 can be formed from the digits 0, 2, 5, 6, 7, 8 if no digit is repeated?

Answer: 240

The first digit must be 5, 6, 7 or 8: 4 choices. The other three places come from the 5 remaining digits, in order: 5P3 = 60. Total: 4 × 60 = 240.

Practise this topic15 questions, each with its solution

Arrangements with conditions15 questions

Here the objects are fixed and a condition restricts how they may stand in a row. Pick the method from the wording.

Things together. Treat the group as one block, arrange all the units, then multiply by the arrangements inside the block. For 5 people in a row with two particular people together: 4! × 2! = 48.

Never together. Total minus together: 120 − 48 = 72.

Gap method. To keep some things apart, arrange the others first, then place the rest in the gaps (the ends count). 3 men leave 4 gaps, so 2 women, no two together, go in 4P2 = 12 ways, after 3! = 6 ways of seating the men: 72 in all.

Alternate seating. In a row, n men and n women alternate in 2 × n! × n! ways (either sex may start): 4 and 4 give 2 × 24 × 24 = 1,152. If the counts differ by one (3 and 2), the larger group must take both ends and the count is 3! × 2! = 12.

Fixed places. A person fixed at one end: arrange the rest, (n − 1)!. Two particular people at the two ends: 2! × (n − 2)!. Two particular people not at either end: choose their places from the middle, (n − 2)P2, then arrange the rest in (n − 2)!.

Position classes. If the vowels of a word must occupy the odd places (or the even places), arrange the vowels in those places and the consonants in the others, and multiply. If vowels must be only in some places but need not fill them all, choose their places in order with nPr.

Derangements. Arranging n things so that none is in its own place (letters in wrong envelopes) can be done in 0, 1, 2, 9, 44 ways for n = 1, 2, 3, 4, 5. 4 letters into 4 addressed envelopes, all wrong: 9.

Fixed order. If k particular people must stand in a given left-to-right order, not necessarily side by side, divide the total by k!. For 6 people with 3 in a fixed order: 720 ÷ 6 = 120.

Repeated letters with a condition. Count both the total and the favourable case with the repeats divided out. In LEADER the E's together: 5! = 120, against 6! ÷ 2! = 360 in all, so not together is 360 − 120 = 240.

Problem 7. In how many ways can 6 people stand in a row if two particular people must stand together?

Answer: 240

Treat the two as one block: the block and 4 others make 5 units, arranged in 5! = 120 ways. The two can swap inside the block: 2! = 2. Total: 120 × 2 = 240.

Problem 8. In how many ways can 4 boys and 4 girls stand in a row so that boys and girls alternate?

Answer: 1,152

Either a boy or a girl may stand first, so there are 2 patterns. In each pattern the boys can be arranged in 4! = 24 ways and the girls in 4! = 24 ways. Total: 2 × 24 × 24 = 1,152.

Problem 9. In how many ways can 4 different maths books and 3 different science books be arranged on a shelf so that no two science books are together?

Answer: 1,440

Arrange the maths books first: 4! = 24 ways. They leave 5 gaps (3 between them and 2 at the ends). Place the 3 science books in different gaps, in order: 5P3 = 60. Total: 24 × 60 = 1,440.

Practise this topic15 questions, each with its solution

Selections and committees15 questions

When the order of the chosen things does not matter, use nCr. A committee, a team, a hand of cards, a handshake and a pair of points are all selections.

  • Basic selection. 5 people from 9: 9C5 = 126. A handshake or match is a selection of 2, so n people give nC2.
  • Exactly, at least, at most. "Exactly 2 women": choose 2 women and the rest men, and multiply. "At least one": total minus "none". A team of 4 from 6 boys and 4 girls with at least one girl is 10C4 − 6C4 = 210 − 15 = 195. For "at least k" or "at most k" with k above 1, add the separate cases. Team of 4 from 6 boys and 3 girls: at least 2 girls is 3C2 × 6C2 + 3C3 × 6C1 = 45 + 6 = 51, and at most one girl is 6C4 + 3C1 × 6C3 = 15 + 60 = 75.
  • Particular person always in: choose the other r − 1 from n − 1. Always out: choose r from n − 1. A team of 5 from 9 with one player always in is 8C4 = 70, and with one player never in 8C5 = 56. Two people who refuse to serve together: total minus the committees holding both.
  • Geometry. Diagonals of an n-sided polygon: nC2 − n = n(n − 3) ÷ 2. Triangles from n points, no three collinear: nC3. If k points lie on one line, lines are nC2 − kC2 + 1 and triangles nC3 − kC3. With 8 points, 4 on one line: 28 − 6 + 1 = 23 lines and 56 − 4 = 52 triangles.
  • Identical things. From p identical things of one kind and q of another, non-empty selections number (p + 1)(q + 1) − 1. From n different things, non-empty selections of any size number 2^n − 1.
  • Distribution. n identical things into r different boxes: any number allowed, (n + r − 1)C(r − 1); each box at least one, (n − 1)C(r − 1). For 6 sweets into 4 children, 9C3 = 84, and with at least one each, 5C3 = 10. n different things into r different boxes, any box may hold any number: r^n ways (4 prizes among 3 students: 3⁴ = 81). The same counts give the solutions of a + b + c + ... = n (r unknowns): (n + r − 1)C(r − 1) in whole numbers with zero allowed, and (n − 1)C(r − 1) in positive whole numbers.
  • Groups. 9 different books among 3 named students, 3 each: 9! ÷ (3!)³ = 1,680. If the groups are not named and are all the same size, divide by 3! to get 280. Groups of unequal size are always distinguishable: 9 things into groups of 2, 3 and 4 give 9! ÷ (2! × 3! × 4!) = 1,260, with no further division.
  • Chessboard and grid. A rectangle needs 2 of the 9 vertical lines and 2 of the 9 horizontal lines of an 8 × 8 board: 9C2 × 9C2 = 36 × 36 = 1,296. Of these the squares are 1² + 2² + ... + 8² = 204.

Problem 10. A committee of 3 is to be formed from 5 men and 4 women, with at least one woman. In how many ways can this be done?

Answer: 74

All committees: 9C3 = 84. Committees with no woman, that is 3 men: 5C3 = 10. At least one woman: 84 − 10 = 74.

Problem 11. How many diagonals does a polygon with 9 sides have?

Answer: 27

Joining any two of the 9 corners gives 9C2 = 36 lines. 9 of these are sides. Diagonals: 36 − 9 = 27, which agrees with 9 × 6 ÷ 2 = 27.

Problem 12. How many positive whole number solutions does x + y + z = 10 have?

Answer: 36

Each unknown must be at least 1, so the count is (n − 1)C(r − 1) with n = 10 and r = 3. 9C2 = (9 × 8) ÷ 2 = 36.

Practise this topic15 questions, each with its solution

Circular arrangements15 questions

In a circle there is no first seat, so turning the whole group round gives the same arrangement. Fix one person and arrange the rest.

Basic rule. n different people round a table can sit in (n − 1)! ways. 5 people give 4! = 24.

Necklace or garland. A necklace or bracelet can be turned over, so an arrangement and its mirror image are the same. Halve the count: 7 beads give 6! ÷ 2 = 360. Use the halved count only when the objects form a ring that can be flipped. People at a table cannot be flipped.

Together. If two people must sit together, make them a block: (n − 2)! × 2!. If they must not, subtract this from (n − 1)!: for 6 people, 120 − 48 = 72.

Alternate seating. Round a table, n men and n women alternate in (n − 1)! × n! ways: seat the men in (n − 1)! ways, then the women in the n gaps in n! ways. 4 men and 4 women give 3! × 4! = 144, which is not the answer for a row (compare 2 × n! × n! there). Round a table the numbers must be equal; with 3 men and 4 women two women would have to sit together.

No two of one kind together. Seat the others first, (n − 1)!, then place the rest in the gaps with nPr. 6 men and 2 women: 5! × 6P2 = 120 × 30 = 3,600.

Selecting, then seating. To seat 4 of 7 people at a round table, choose first and then arrange: 7C4 × 3! = 210.

Couples. Five couples with each couple together: the 5 blocks are seated in 4! ways and each couple has 2 orders, so 4! × 2⁵ = 768.

Opposite seats. If two people must sit directly opposite each other, seat the first anywhere, which settles the second, and arrange the other (n − 2) people in (n − 2)! ways.

Numbered chairs. If every chair is marked with a different number, the seats are distinct and the (n − 1)! rule no longer applies. Seating r people on n numbered chairs is nPr.

Problem 13. In how many ways can 7 people sit round a circular table?

Answer: 720

Fix one person and arrange the other 6 relative to that person. (7 − 1)! = 6! = 720.

Problem 14. In how many ways can 6 people sit round a table if two particular people must sit together?

Answer: 48

Treat the two as one block: the block and the other 4 people make 5 units, seated in (5 − 1)! = 24 ways. The two can swap inside the block: 2! = 2. Total: 24 × 2 = 48.

Problem 15. In how many ways can 4 men and 4 women sit round a table so that men and women alternate?

Answer: 144

Seat the men first: (4 − 1)! = 6 ways. This leaves 4 gaps, one between each pair of men, and the women fill them in 4! = 24 ways. Total: 6 × 24 = 144.

Practise this topic15 questions, each with its solution

Probability using selections15 questions

Probability = favourable outcomes ÷ total outcomes, between 0 and 1. The chance that the event does not happen is 1 − P. When things are drawn from a group, count both the favourable and the total outcomes with nCr.

  • Or. P(A or B) = P(A) + P(B) − P(A and B), where the last term is 0 if the events cannot occur together.
  • And. For independent events, P(A and B) = P(A) × P(B). Drawing without replacement changes the chances after each draw, so multiply the conditional probabilities: two aces in a row, 4/52 × 3/51 = 1/221.
  • At least one. 1 − P(none). Three coins give 1 − 1/8 = 7/8.
  • Balls drawn together. Use combinations for both the favourable and the total count. A bag with 5 red and 3 blue balls, 2 drawn: both red is 5C2 ÷ 8C2 = 10/28 = 5/14. Mixed colours multiply the separate selections: one red and one blue is 5 × 3 ÷ 28 = 15/28.
  • Committees. The same method applies: the chance that a committee of 3 from 4 men and 5 women has exactly 2 women is 5C2 × 4C1 ÷ 9C3 = 40/84 = 10/21.
  • Exactly r heads in n tosses of a fair coin. nCr ÷ 2^n. For 5 tosses and 3 heads: 10/32 = 5/16.
  • Letters together. Together arrangements ÷ all arrangements, with repeated letters handled in both. APPLE: all 5! ÷ 2! = 60, P's together 4! = 24, so 24/60 = 2/5.
  • Multiples in a range. Multiples of k up to N: the whole part of N ÷ k. For "A or B" the overlap is the multiples of the LCM. From 1 to 60, multiples of 4 or 10: 15 + 6 − 3 (multiples of 20) = 18, so 18/60 = 3/10. Two-digit multiples of 8: 12 − 1 = 11 (whole parts of 99 ÷ 8 and 9 ÷ 8).

Total outcomes: n coins 2^n, one die 6, two dice 36, a pack of cards 52. A pack has 4 suits of 13 cards, 26 red and 26 black, 12 face cards (jack, queen, king) and 4 aces. For two dice, the ways to get sums 2 to 12 are 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, so a sum of 8 has probability 5/36.

Problem 16. A pair of dice is rolled. What is the chance that the total is 6 or both dice show the same number?

Answer: 5/18

Total 6: (1,5), (2,4), (3,3), (4,2), (5,1), which is 5 ways. Both the same: 6 ways. (3,3) is in both groups, so favourable outcomes: 5 + 6 − 1 = 10. Probability: 10/36 = 5/18.

Problem 17. A bag holds 5 red and 3 green balls. Two balls are drawn together. What is the probability that both are of the same colour?

Answer: 13/28

Total selections: 8C2 = 28. Both red: 5C2 = 10. Both green: 3C2 = 3. Favourable: 10 + 3 = 13, so the probability is 13/28.

Problem 18. A number is chosen at random from 1 to 50. What is the probability that it is a prime?

Answer: 3/10

The primes up to 50 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47: 15 of them. Probability: 15/50 = 3/10.

Practise this topic15 questions, each with its solution

Quick revision
Topic Rule
Stages Multiply (and); alternatives add (or)
Repetition n choices for each of r places: n^r
nPr, nCr n! ÷ (n − r)!; nPr ÷ r!; nCr = nC(n − r)
Repeated letters n! ÷ (p! × q!)
Together / apart Block × inside; total − together
Circle (n − 1)!; halve for a necklace
Non-empty selections 2^n − 1 (different), (p + 1)(q + 1) − 1 (identical)
Distribution (n + r − 1)C(r − 1); at least one each, (n − 1)C(r − 1)
Probability Favourable ÷ total, using nCr for draws
At least one 1 − P(none)
Common mistakes
  • Using nPr when order does not matter, or nCr when it does.
  • Forgetting the inside arrangements of a block, or the 2 patterns in alternate seating in a row.
  • Dividing a circular arrangement by n instead of using (n − 1)!, or forgetting to halve for a necklace, or halving for people at a table.
  • Letting a number start with 0, or forgetting to split the cases when the last digit may be 0.
  • Not subtracting the overlap in "A or B", or keeping the same total in each draw without replacement.
  • Counting "none" or an empty selection: "at least one" and "non-empty" need that single case taken off.

By ICE Academy · Updated 4 Dec 2026 · Found a mistake? Write to info@iceacademy.in

Mixed tests

All 165 questions of this chapter on paper, with the answer key and solutions. Free: the first download asks for your name, phone number and email.

Exams that test this chapter