Permutations & Combinations

Counting arrangements and selections.

45 solved questions · 15 easy · 20 medium · 10 hard

Take a 10-question quiz on Permutations & Combinations, no login

Shortcuts & formulas

  • nPr = n!/(n-r)! (order matters); nCr = n!/(r!(n-r)!) (order does not matter).
  • nCr = nC(n-r); if nCa = nCb with a not equal to b then a + b = n.
  • Arrangements of n things with repeats: n!/(p! q! r!) where p, q, r are the counts of identical items.
  • Circular arrangement of n distinct things: (n-1)!.
  • 'Together' items: glue them as one unit, arrange the units, then arrange inside the glue.
  • 'Never together' = Total - Together. 'At least' = Total - none.
  • Diagonals of an n-sided polygon = nC2 - n; handshakes among n people = nC2.
  • Derangements: D3 = 2, D4 = 9, D5 = 44.

Solved examples

Try each one first, then open the answer and the step-by-step solution.

Easy questions

Q1.

Find the value of 8P3.

  1. A336
  2. B56
  3. C512
  4. D1,680
Show answer & solution

Answer: A. 336

Solution

8P3 = 8 x 7 x 6 = 336 Answer: 336

Q2.

Find the value of 10C4.

  1. A5,040
  2. B210
  3. C252
  4. D40
Show answer & solution

Answer: B. 210

Solution

10C4 = (10 x 9 x 8 x 7)/(4 x 3 x 2 x 1) = 5040/24 = 210 Answer: 210

Q3.

Find the value of 12C10.

  1. A132
  2. B120
  3. C66
  4. D220
Show answer & solution

Answer: C. 66

Solution

12C10 = 12C2 (since nCr = nC(n-r)) = (12 x 11)/2 = 66 Answer: 66

Shortcut: Use nCr = nC(n-r) and pick the smaller r.

Q4.

In how many ways can the letters of the word LOGIC be arranged?

  1. A60
  2. B24
  3. C3,125
  4. D120
Show answer & solution

Answer: D. 120

Solution

LOGIC has 5 distinct letters. Arrangements = 5! = 120 Answer: 120

Q5.

In how many ways can 6 different books be arranged on a shelf?

  1. A720
  2. B120
  3. C216
  4. D36
Show answer & solution

Answer: A. 720

Solution

Arrangements of 6 distinct books = 6! = 720 Answer: 720

Q6.

A committee of 3 members is to be chosen from 9 people. In how many ways can this be done?

  1. A504
  2. B84
  3. C27
  4. D36
Show answer & solution

Answer: B. 84

Solution

Order does not matter, so use combinations. 9C3 = (9 x 8 x 7)/(3 x 2 x 1) = 84 Answer: 84

Q7.

At a farewell party, each of 12 friends shakes hands once with every other friend. How many handshakes take place?

  1. A132
  2. B144
  3. C66
  4. D12
Show answer & solution

Answer: C. 66

Solution

Handshakes = 12C2 = (12 x 11)/2 = 66 Answer: 66

Shortcut: n(n-1)/2

Q8.

How many 3-digit numbers can be formed using the digits 1, 2, 3, 4, 5 if repetition of digits is allowed?

  1. A60
  2. B15
  3. C10
  4. D125
Show answer & solution

Answer: D. 125

Solution

Each of the 3 places can be filled in 5 ways. Total = 5 x 5 x 5 = 125 Answer: 125

Q9.

How many diagonals does a regular octagon have?

  1. A20
  2. B28
  3. C40
  4. D24
Show answer & solution

Answer: A. 20

Solution

Diagonals = nC2 - n = 8C2 - 8 = 28 - 8 = 20 Answer: 20

Shortcut: n(n-3)/2 = 8 x 5/2 = 20

Q10.

A class has 8 students. In how many ways can a president and a secretary be chosen (different persons for the two posts)?

  1. A28
  2. B56
  3. C16
  4. D64
Show answer & solution

Answer: B. 56

Solution

The posts are different, so order matters. 8P2 = 8 x 7 = 56 Answer: 56

Q11.

A shop has 4 shirts, 3 trousers and 2 pairs of shoes. How many different outfits (one shirt, one trouser, one pair of shoes) are possible?

  1. A9
  2. B12
  3. C24
  4. D48
Show answer & solution

Answer: C. 24

Solution

By the multiplication rule: 4 x 3 x 2 = 24 Answer: 24

Q12.

If 12Cr = 12C4 and r is not equal to 4, find r.

  1. A6
  2. B16
  3. C3
  4. D8
Show answer & solution

Answer: D. 8

Solution

If nCa = nCb with a not equal to b, then a + b = n. r + 4 = 12, so r = 8 Answer: 8

Q13.

In a league, each of 8 cricket teams plays every other team exactly once. How many matches are played?

  1. A28
  2. B56
  3. C64
  4. D36
Show answer & solution

Answer: A. 28

Solution

Matches = 8C2 = (8 x 7)/2 = 28 Answer: 28

Q14.

If nP2 = 42, find n.

  1. A6
  2. B7
  3. C8
  4. D21
Show answer & solution

Answer: B. 7

Solution

nP2 = n(n-1) = 42 = 7 x 6 So n = 7 Answer: 7

Q15.

A PIN code has 4 digits (0 to 9) and digits may repeat. How many different PINs are possible?

  1. A5,040
  2. B210
  3. C10,000
  4. D9,000
Show answer & solution

Answer: C. 10,000

Solution

Each of the 4 places has 10 choices. Total = 10^4 = 10,000 Answer: 10,000

Medium questions

Q16.

How many different arrangements can be made using all the letters of the word BANANA?

  1. A720
  2. B120
  3. C240
  4. D60
Show answer & solution

Answer: D. 60

Solution

Letters: B x 1, A x 3, N x 2; total 6 letters. Arrangements = 6!/(3! x 2!) = 720/12 = 60 Answer: 60

Q17.

How many different arrangements can be made using all the letters of the word SUCCESS?

  1. A420
  2. B5,040
  3. C840
  4. D1,680
Show answer & solution

Answer: A. 420

Solution

Letters: S x 3, U x 1, C x 2, E x 1; total 7 letters. Arrangements = 7!/(3! x 2!) = 5040/12 = 420 Answer: 420

Q18.

In how many ways can the letters of the word JAIPUR be arranged so that all the vowels come together?

  1. A720
  2. B144
  3. C240
  4. D48
Show answer & solution

Answer: B. 144

Solution

Vowels: A, I, U (3 vowels). Treat AIU as one unit. Units: J, P, R and (AIU) = 4 units, arranged in 4! = 24 ways. Vowels inside the unit: 3! = 6 ways. Total = 24 x 6 = 144 Answer: 144

Q19.

In how many ways can the letters of the word DELHI be arranged so that the vowels do NOT come together?

  1. A48
  2. B120
  3. C72
  4. D24
Show answer & solution

Answer: C. 72

Solution

Total arrangements = 5! = 120 Vowels E, I together: units D, L, H, (EI) = 4! x 2! = 48 Not together = 120 - 48 = 72 Answer: 72

Q20.

A committee of 4 is to be formed from 5 men and 4 women. In how many ways can it be formed so that it has at least 2 women?

  1. A126
  2. B60
  3. C90
  4. D81
Show answer & solution

Answer: D. 81

Solution

Cases: 2 women + 2 men: 4C2 x 5C2 = 6 x 10 = 60 3 women + 1 man: 4C3 x 5C1 = 4 x 5 = 20 4 women: 4C4 = 1 Total = 60 + 20 + 1 = 81 Answer: 81

Shortcut: Total - (0 or 1 woman) = 126 - (5C4 + 4 x 5C3) = 126 - 45 = 81

Q21.

A team of 5 is to be selected from 8 players such that a particular player, Ravi, is always included. In how many ways can this be done?

  1. A35
  2. B56
  3. C21
  4. D70
Show answer & solution

Answer: A. 35

Solution

Ravi is fixed, so choose the remaining 4 from 7 players. 7C4 = 35 Answer: 35

Q22.

How many 4-digit numbers can be formed using the digits 0-9 with no digit repeated?

  1. A5,040
  2. B4,536
  3. C6,561
  4. D3,024
Show answer & solution

Answer: B. 4,536

Solution

Thousands place: not 0, so 9 choices. Hundreds: 9 choices (0 allowed, one digit already used). Tens: 8 choices. Units: 7 choices. Total = 9 x 9 x 8 x 7 = 4,536 Answer: 4,536

Q23.

How many 3-digit even numbers can be formed from the digits 1, 2, 3, 4, 5 without repetition?

  1. A60
  2. B36
  3. C24
  4. D30
Show answer & solution

Answer: C. 24

Solution

Units digit must be 2 or 4: 2 choices. Tens digit: 4 remaining choices. Hundreds digit: 3 remaining choices. Total = 2 x 4 x 3 = 24 Answer: 24

Shortcut: Fill the restricted place first.

Q24.

In how many ways can 7 people be seated around a circular table?

  1. A5,040
  2. B360
  3. C120
  4. D720
Show answer & solution

Answer: D. 720

Solution

Circular arrangements of n people = (n-1)! (7-1)! = 6! = 720 Answer: 720

Q25.

In how many ways can 8 people sit around a round table if two particular persons must sit together?

  1. A1,440
  2. B5,040
  3. C720
  4. D10,080
Show answer & solution

Answer: A. 1,440

Solution

Treat the two persons as one unit: 7 units in a circle = (7-1)! = 720 ways. The two can swap inside: 2! = 2. Total = 720 x 2 = 1,440 Answer: 1,440

Q26.

In how many ways can 5 boys and 3 girls stand in a row so that no two girls are together?

  1. A36,000
  2. B14,400
  3. C720
  4. D1,200
Show answer & solution

Answer: B. 14,400

Solution

Arrange the 5 boys first: 5! = 120 ways. This creates 6 gaps (including both ends). Choose 3 gaps for the girls: 6C3 = 20. Arrange the girls in them: 3! = 6. Total = 120 x 20 x 6 = 14,400 Answer: 14,400

Q27.

How many rectangles (of all sizes, squares included) are there on a standard 8 x 8 chessboard?

  1. A204
  2. B64
  3. C1,296
  4. D224
Show answer & solution

Answer: C. 1,296

Solution

A rectangle needs 2 of the 9 horizontal lines and 2 of the 9 vertical lines. Total = 9C2 x 9C2 = 36 x 36 = 1,296 Answer: 1,296

Q28.

There are 10 points in a plane, of which 4 are collinear and no other three are collinear. How many triangles can be formed with these points as vertices?

  1. A120
  2. B114
  3. C20
  4. D116
Show answer & solution

Answer: D. 116

Solution

Total triples = 10C3 = 120 Triples from the 4 collinear points (no triangle) = 4C3 = 4 Triangles = 120 - 4 = 116 Answer: 116

Q29.

All the letters of the word DELHI are arranged in every possible way and listed in dictionary order. What is the rank of the word HIDEL?

  1. A61
  2. B62
  3. C60
  4. D59
Show answer & solution

Answer: A. 61

Solution

Alphabetical order of letters: D, E, H, I, L. Words starting with D or E: 2 x 4! = 48 Starting with H: second letter D or E gives 2 x 3! = 12 words before HI... Starting with HI: third letter D gives HID.., and HIDEL is the first of these (E before L). Rank = 48 + 12 + 1 = 61 Answer: 61

Q30.

In how many ways can 10 identical sweets be distributed among 3 children so that each child gets at least 1 sweet?

  1. A66
  2. B36
  3. C120
  4. D59,049
Show answer & solution

Answer: B. 36

Solution

Place 2 dividers in the 9 gaps between the 10 sweets. Ways = 9C2 = 36 Answer: 36

Shortcut: Each gets at least 1: (n-1)C(k-1).

Q31.

A robot moves from the bottom-left to the top-right corner of a grid, taking 6 steps right and 4 steps up in any order. How many different paths are there?

  1. A36,28,800
  2. B45
  3. C210
  4. D24
Show answer & solution

Answer: C. 210

Solution

Each path is an arrangement of 6 R's and 4 U's. Paths = 10!/(6! 4!) = 10C4 = 210 Answer: 210

Q32.

A student must choose 3 books from 4 fiction and 5 non-fiction books, taking at least one of each type. In how many ways can she choose?

  1. A84
  2. B40
  3. C80
  4. D70
Show answer & solution

Answer: D. 70

Solution

Total ways = 9C3 = 84 All fiction = 4C3 = 4; all non-fiction = 5C3 = 10 Required = 84 - 4 - 10 = 70 Answer: 70

Q33.

In how many ways can 8 people be divided into two teams of 4 each (the teams are not named)?

  1. A35
  2. B70
  3. C28
  4. D140
Show answer & solution

Answer: A. 35

Solution

Choose 4 for one team: 8C4 = 70. The two teams are unlabelled, so divide by 2: 70/2 = 35 Answer: 35

Q34.

In how many ways can 6 people stand in a row if two particular persons, Asha and Ravi, do NOT stand together?

  1. A240
  2. B480
  3. C720
  4. D600
Show answer & solution

Answer: B. 480

Solution

Total = 6! = 720 Together: treat as one unit: 5! x 2! = 240 Not together = 720 - 240 = 480 Answer: 480

Q35.

A cricket team of 11 is to be chosen from 15 players, with 2 particular players always included. In how many ways can the team be chosen?

  1. A1,365
  2. B78
  3. C715
  4. D5,005
Show answer & solution

Answer: C. 715

Solution

Two players are fixed, so choose the other 9 from the remaining 13. 13C9 = 13C4 = (13 x 12 x 11 x 10)/24 = 715 Answer: 715

Hard questions

Q36.

How many 5-digit numbers divisible by 4 can be formed from the digits 0, 1, 2, 3, 4 without repetition?

  1. A36
  2. B24
  3. C42
  4. D30
Show answer & solution

Answer: D. 30

Solution

A number is divisible by 4 if its last two digits form a multiple of 4. Endings with distinct digits from 0-4: 04, 12, 20, 24, 32, 40. Endings containing 0 (04, 20, 40): the other 3 digits fill the first 3 places freely: 3! = 6 each -> 18 Endings without 0 (12, 24, 32): 0 is among the remaining 3 digits and cannot be first: 3! - 2! = 4 each -> 12 Total = 18 + 12 = 30 Answer: 30

Q37.

Find the sum of all the 4-digit numbers that can be formed using the digits 1, 2, 3, 4 once each.

  1. A66,660
  2. B33,330
  3. C55,550
  4. D26,664
Show answer & solution

Answer: A. 66,660

Solution

Each digit appears in each place 3! = 6 times. Sum of digits = 1 + 2 + 3 + 4 = 10 Sum for each place = 6 x 10 = 60 Total = 60 x (1000 + 100 + 10 + 1) = 60 x 1111 = 66,660 Answer: 66,660

Shortcut: (n-1)! x (sum of digits) x 1111

Q38.

Five letters are to be put in five addressed envelopes, one letter in each. In how many ways can all five letters be placed in wrong envelopes?

  1. A119
  2. B44
  3. C45
  4. D60
Show answer & solution

Answer: B. 44

Solution

Derangements: D(n) = n! x (1/2! - 1/3! + 1/4! - ... ) D(5) = 120 x (1/2 - 1/6 + 1/24 - 1/120) = 60 - 20 + 5 - 1 = 44 Answer: 44

Shortcut: Remember D3 = 2, D4 = 9, D5 = 44.

Q39.

How many different arrangements are possible using all the letters of the word MATHEMATICS?

  1. A3,99,16,800
  2. B1,99,58,400
  3. C49,89,600
  4. D66,52,800
Show answer & solution

Answer: C. 49,89,600

Solution

Letters: M x2, A x2, T x2, H, E, I, C, S: 11 letters. Arrangements = 11!/(2! 2! 2!) = 39916800/8 = 49,89,600 Answer: 49,89,600

Q40.

In how many ways can 5 men and 5 women be seated around a circular table so that men and women alternate?

  1. A14,400
  2. B3,62,880
  3. C5,760
  4. D2,880
Show answer & solution

Answer: D. 2,880

Solution

Seat the 5 men first around the table: (5-1)! = 24 ways. The 5 women take the 5 gaps between men: 5! = 120 ways. Total = 24 x 120 = 2,880 Answer: 2,880

Q41.

How many squares (of all sizes) are there on a standard 8 x 8 chessboard?

  1. A204
  2. B64
  3. C1,296
  4. D140
Show answer & solution

Answer: A. 204

Solution

Squares of side k: (9-k)^2 64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204 Answer: 204

Shortcut: 1^2 + 2^2 + ... + 8^2 = 8 x 9 x 17/6 = 204

Q42.

How many 4-digit numbers greater than 3000 can be formed from the digits 0, 1, 2, 3, 4, 5 without repetition?

  1. A300
  2. B180
  3. C120
  4. D360
Show answer & solution

Answer: B. 180

Solution

The thousands digit must be 3, 4 or 5: 3 choices. (A number starting with 3 and having distinct digits is always above 3000.) The other 3 places use the remaining 5 digits: 5 x 4 x 3 = 60 Total = 3 x 60 = 180 Answer: 180

Q43.

In how many ways can 6 different gifts be divided equally among 3 persons (2 each)?

  1. A45
  2. B15
  3. C90
  4. D540
Show answer & solution

Answer: C. 90

Solution

Person 1: 6C2 = 15 ways; Person 2: 4C2 = 6 ways; Person 3: 2C2 = 1 way. Total = 15 x 6 x 1 = 90 Answer: 90

Shortcut: 6!/(2! 2! 2!) = 90

Q44.

In how many ways can the letters of the word AABBC be arranged so that no two identical letters are adjacent?

  1. A30
  2. B18
  3. C24
  4. D12
Show answer & solution

Answer: D. 12

Solution

Total arrangements = 5!/(2! 2!) = 30 A's together: units (AA), B, B, C = 4!/2! = 12; B's together: 12; both together: (AA), (BB), C = 3! = 6 At least one pair together = 12 + 12 - 6 = 18 No identical letters adjacent = 30 - 18 = 12 Answer: 12

Q45.

How many arrangements of the letters of the word LEADER have all three vowels in odd positions (1st, 3rd and 5th)?

  1. A18
  2. B36
  3. C9
  4. D6
Show answer & solution

Answer: A. 18

Solution

Vowels E, A, E occupy positions 1, 3, 5: 3!/2! = 3 ways. Consonants L, D, R occupy positions 2, 4, 6: 3! = 6 ways. Total = 3 x 6 = 18 Answer: 18

Ready to test yourself? 10 fresh Permutations & Combinations questions, timed, with solutions at the end.

Start the quiz

Related topics

Practise this with Sam

A real mock interview, out loud, with an honest scorecard. Free to start.

Start free