End-of-chapter exam: Combinatorics

On elev psychos, this lesson comes with:

  • Every exercise checked the moment it is answered
  • A hint exactly when it is needed
  • Progress tracking, chapter by chapter
Practise on elev psychos

This lesson is part of the subscription. A full chapter for free: Numbers

Twenty questions on the whole chapter, at the level of the real Psychometric Entrance Test: the multiplication principle, repetition, order that matters or does not, factorials to cancel and to factor, numbers box by box, the glued block and its complement, identical objects, “or” and “at least one”, paths and unnamed groups. Twenty-five minutes, no calculator. A wrong answer costs nothing, so answer every question.

Try it here

One exercise from this lesson, checked instantly: this is how every exercise works on elev psychos.

A sandwich shop offers 44 kinds of bread, 55 fillings and 22 sauces. A sandwich is made of one bread, one filling and one sauce. How many different sandwiches can be made?

Exercises

Exercise 1

A sandwich shop offers 44 kinds of bread, 55 fillings and 22 sauces. A sandwich is made of one bread, one filling and one sauce. How many different sandwiches can be made?

  1. (1)1111
  2. (2)4040
  3. (3)2020
  4. (4)8080
Show the answer and the solution

Answer: (2) 4040

Worked solution:

4×5×2=404 \times 5 \times 2 = 40

Three stages: for each bread, each filling; for each pair, each sauce.

The correct answer: “4040”. “1111” adds the choices, 4+5+24 + 5 + 2: it counts ingredients, not sandwiches. “2020” forgets the sauce stage, 4×54 \times 5. “8080” counts the sauce twice, as if there were four sauces.

Check the answer on elev psychos — Exercise 1

Exercise 2

A code is made of 22 letters chosen from AA, BB, CC, DD and EE (a letter may repeat), followed by one digit from 00 to 99. How many different codes are there?

  1. (1)2020
  2. (2)200200
  3. (3)250250
  4. (4)320320
Show the answer and the solution

Answer: (3) 250250

Worked solution:

5×5=255 \times 5 = 25

The two letters: five choices each, since repetition is allowed.

25×10=25025 \times 10 = 250

For each pair of letters, ten digits.

The correct answer: “250250”. “2020” adds the choices, 5+5+105 + 5 + 10. “200200” does not allow the letters to repeat, 5×4×105 \times 4 \times 10, while the question allows it. “320320” swaps the base and the exponent, 25×102^{5} \times 10: the base is the number of choices, the exponent the number of places.

Check the answer on elev psychos — Exercise 2

Exercise 3

A contest has 1111 entrants. A first, a second and a third prize are awarded, to three different entrants. How many different prize lists are possible?

  1. (1)990990
  2. (2)165165
  3. (3)1,3311{,}331
  4. (4)3030
Show the answer and the solution

Answer: (1) 990990

Worked solution:

11×10×9=99011 \times 10 \times 9 = 990

Three named places: three factors going down, since a winner leaves the pool.

The correct answer: “990990”. “165165” divides by 3!=63! = 6, as for a group with no roles, but the prizes have a rank. “1,3311{,}331” works out 11311^{3}: the same entrant could win two prizes. “3030” adds the three factors, 11+10+911 + 10 + 9.

Check the answer on elev psychos — Exercise 3

Did your child get it?

On elev psychos, every exercise is checked the moment your child answers, and a hint comes right when they get stuck.

Practise on elev psychos

Exercise 4

How many four-digit numbers have only odd digits (a digit may repeat)?

  1. (1)120120
  2. (2)2020
  3. (3)1,0241{,}024
  4. (4)625625
Show the answer and the solution

Answer: (4) 625625

Worked solution:

54=6255^{4} = 625

The pool has five digits, 11, 33, 55, 77 and 99, and zero is not one of them: the leading box causes no problem. Four boxes, five choices in each.

The correct answer: “625625”. “120120” requires all the digits to be different, 5×4×3×25 \times 4 \times 3 \times 2, but the question allows repetition. “2020” works out 5×45 \times 4: it multiplies the pool by the number of boxes. “1,0241{,}024” swaps the base and the exponent, 454^{5}.

Check the answer on elev psychos — Exercise 4

Exercise 5

What is 14!12!\dfrac{14!}{12!}?

  1. (1)22
  2. (2)168168
  3. (3)182182
  4. (4)196196
Show the answer and the solution

Answer: (3) 182182

Worked solution:

14!=14×13×12!14! = 14 \times 13 \times 12!

Unroll the larger factorial down to the smaller one.

14!12!=14×13=182\begin{aligned}\dfrac{14!}{12!} &= 14 \times 13 \\ &= 182\end{aligned}

Two steps, two factors: the block 12!12! cancels.

The correct answer: “182182”. “22” treats the exclamation mark as a factor and keeps the gap 14−1214 - 12. “168168” multiplies the two numbers in the expression, 14×1214 \times 12, instead of the two factors that remain. “196196” works out 14×1414 \times 14: the second factor must go down by one.

Check the answer on elev psychos — Exercise 5

Exercise 6

What is 7!+8!6!\dfrac{7! + 8!}{6!}?

  1. (1)6363
  2. (2)5656
  3. (3)1515
  4. (4)99
Show the answer and the solution

Answer: (1) 6363

Worked solution:

7!+8!=7!(1+8)=9⋅7!\begin{aligned}7! + 8! &= 7!(1 + 8) \\ &= 9 \cdot 7!\end{aligned}

Factor out the smaller factorial of the numerator, without forgetting the 11.

9⋅7!6!=9×7=63\begin{aligned}\dfrac{9 \cdot 7!}{6!} &= 9 \times 7 \\ &= 63\end{aligned}

One step is left between 7!7! and 6!6!.

The correct answer: “6363”. “5656” forgets the 11 when factoring: 8⋅7!8 \cdot 7! instead of 9⋅7!9 \cdot 7!. “1515” adds 7+87 + 8, as if factorials simplified like numbers. “99” stops at the parentheses and forgets that 7!6!=7\dfrac{7!}{6!} = 7.

Check the answer on elev psychos — Exercise 6

Exercise 7

A committee of 33 members, with no distinct roles, has exactly 22 teachers and 11 student. It is chosen from 77 teachers and 44 students. How many committees are possible?

  1. (1)168168
  2. (2)2525
  3. (3)2828
  4. (4)8484
Show the answer and the solution

Answer: (4) 8484

Worked solution:

7×62=21\dfrac{7 \times 6}{2} = 21

Two teachers with no role: a pair, so divide by two.

21×4=8421 \times 4 = 84

For each pair of teachers, one student out of four.

The correct answer: “8484”. “168168” does not divide by two: it counts each pair of teachers in both orders, 7×6×47 \times 6 \times 4. “2525” adds the two stages, 21+421 + 4. “2828” chooses only one teacher, 7×47 \times 4.

Check the answer on elev psychos — Exercise 7

Exercise 8

1515 lines are drawn in the plane. No two of them are parallel, and no three of them pass through the same point. How many intersection points are there?

  1. (1)210210
  2. (2)105105
  3. (3)225225
  4. (4)3030
Show the answer and the solution

Answer: (2) 105105

Worked solution:

15×14=21015 \times 14 = 210

Each line crosses the fourteen others.

2102=105\dfrac{210}{2} = 105

Each point is counted twice, once per line: it is a pair of lines.

The correct answer: “105105”. “210210” counts each intersection point twice. “225225” works out 15215^{2}: a line would also cross itself. “3030” gives two points to each line, 15×215 \times 2.

Check the answer on elev psychos — Exercise 8

Exercise 9

How many three-digit numbers are greater than 500500 and have three different digits?

  1. (1)360360
  2. (2)288288
  3. (3)499499
  4. (4)405405
Show the answer and the solution

Answer: (1) 360360

Worked solution:

5×9×8=3605 \times 9 \times 8 = 360

The hundreds: 55, 66, 77, 88 or 99 (500500 itself repeats the zero). The tens: anything except the hundreds digit. The units: anything except the two digits already placed.

The correct answer: “360360”. “288288” starts the hundreds at 66, 4×9×84 \times 9 \times 8, yet 512512, for example, is greater than 500500. “499499” counts all the numbers from 501501 to 999999 and forgets the condition “different”. “405405” works out 5×9×95 \times 9 \times 9: it forgets that the units must differ from both digits already placed.

Check the answer on elev psychos — Exercise 9

Exercise 10

On a grid, you go from the point (0,0)(0, 0) to the point (5,2)(5, 2) by a shortest path: each step moves one unit to the right or up. How many different paths are there?

  1. (1)1010
  2. (2)77
  3. (3)2121
  4. (4)4242
Show the answer and the solution

Answer: (3) 2121

Worked solution:

5+2=75 + 2 = 7

Every path has seven steps: five to the right, two up.

7×62=21\dfrac{7 \times 6}{2} = 21

A path is the choice of the two upward steps among the seven: a pair, with no order.

The correct answer: “2121”. “1010” multiplies the two coordinates, 5×25 \times 2. “77” counts the steps of a single path. “4242” orders the two upward steps, 7×67 \times 6, but the two steps are identical: swapping their places does not change the path.

Check the answer on elev psychos — Exercise 10

Exercise 11

Six friends, Yael and Ron among them, sit in six neighboring seats in the same row. Yael and Ron refuse to sit side by side. How many seating arrangements are possible?

  1. (1)240240
  2. (2)600600
  3. (3)360360
  4. (4)480480
Show the answer and the solution

Answer: (4) 480480

Worked solution:

6!=7206! = 720

All the arrangements, with no condition.

5!×2=2405! \times 2 = 240

The arrangements where Yael and Ron are glued: five units, then the block opens in two directions.

720−240=480720 - 240 = 480

Remove the forbidden arrangements from the total.

The correct answer: “480480”. “240240” counts the arrangements where they sit side by side: the opposite of what is asked. “600600” removes only 5!=1205! = 120: it glues the block without opening it up. “360360” takes half of 720720, as if “side by side” and “apart” were equally frequent.

Check the answer on elev psychos — Exercise 11

Exercise 12

Six students split into two groups of three for a project; the groups have no name and no number. In how many ways can the two groups be formed?

  1. (1)2020
  2. (2)1010
  3. (3)1515
  4. (4)120120
Show the answer and the solution

Answer: (2) 1010

Worked solution:

6×5×43!=20\dfrac{6 \times 5 \times 4}{3!} = 20

The three members of one group, with no order among them.

202=10\dfrac{20}{2} = 10

Each split is counted twice: one group, then the other.

The correct answer: “1010”. “2020” treats the two groups as if they had a name, but the chosen group and the remaining group make the same split. “1515” forms three pairs instead of two groups. “120120” orders the three chosen students, 6×5×46 \times 5 \times 4.

Check the answer on elev psychos — Exercise 12

Exercise 13

77 flags are lined up: 33 identical red ones, 22 identical blue ones and 22 identical green ones. How many different sequences of colors can you get?

  1. (1)210210
  2. (2)5,0405{,}040
  3. (3)420420
  4. (4)840840
Show the answer and the solution

Answer: (1) 210210

Worked solution:

7!=5,0407! = 5{,}040

As if the seven flags were all different.

3!×2!×2!=243! \times 2! \times 2! = 24

Swapping flags of the same color does not change the sequence: each sequence was counted 2424 times.

5,04024=210\dfrac{5{,}040}{24} = 210

Divide by what you counted too many times.

The correct answer: “210210”. “5,0405{,}040” tells identical flags apart. “420420” divides only by 3!×2!3! \times 2!: it corrects for the red and the blue flags, but forgets the green ones. “840840” corrects only for the red flags, 5,0406\dfrac{5{,}040}{6}.

Check the answer on elev psychos — Exercise 13

Exercise 14

How many integers from 11 to 120120 are divisible by 44 or by 1010?

  1. (1)4242
  2. (2)3939
  3. (3)3636
  4. (4)3030
Show the answer and the solution

Answer: (3) 3636

Worked solution:

1204=30\dfrac{120}{4} = 30

The multiples of 44.

12010=12\dfrac{120}{10} = 12

The multiples of 1010.

12020=6\dfrac{120}{20} = 6

The numbers counted twice are the common multiples of 44 and 1010: the multiples of 2020, the least common multiple.

30+12−6=3630 + 12 - 6 = 36

Remove them once.

The correct answer: “3636”. “4242” adds the two groups without removing the multiples of 2020, which are counted twice. “3939” removes the multiples of 40=4×1040 = 4 \times 10, but the least common multiple is 2020, not 4040. “3030” counts only the multiples of 44.

Check the answer on elev psychos — Exercise 14

Exercise 15

A code has 44 digits, each from 00 to 99 (a digit may repeat). How many codes contain at least one 00?

  1. (1)4,0004{,}000
  2. (2)3,4393{,}439
  3. (3)6,5616{,}561
  4. (4)2,9162{,}916
Show the answer and the solution

Answer: (2) 3,4393{,}439

Worked solution:

104=10,00010^{4} = 10{,}000

All the codes.

94=6,5619^{4} = 6{,}561

The codes with no 00 at all: nine choices per box.

10,000−6,561=3,43910{,}000 - 6{,}561 = 3{,}439

“At least one 00” is the complement of “no 00”.

The correct answer: “3,4393{,}439”. “4,0004{,}000” puts a 00 in one of the four boxes and then fills the other three freely, 4×1,0004 \times 1{,}000: a code such as 0 0 5 70\,0\,5\,7 is counted twice. “6,5616{,}561” counts the codes with no 00 at all, the opposite of what is asked. “2,9162{,}916” counts the codes that contain exactly one 00, 4×934 \times 9^{3}.

Check the answer on elev psychos — Exercise 15

Exercise 16

For how many integers MM, from 33 to 2525, is the number M!(M−2)!\dfrac{M!}{(M-2)!} divisible by 1010?

  1. (1)55
  2. (2)44
  3. (3)88
  4. (4)99
Show the answer and the solution

Answer: (4) 99

Worked solution:

M!(M−2)!=M(M−1)\dfrac{M!}{(M-2)!} = M(M-1)

Cancel first: two consecutive integers remain.

5∣M or 5∣M−15 \mid M \ \text{or} \ 5 \mid M - 1

Of two consecutive integers, one is even: the factor 22 is always there. Only the 55 is missing: MM is a multiple of 55, or the number after one. Hence 55, 66, 1010, 1111, 1515, 1616, 2020, 2121 and 2525; 2626 is beyond 2525.

The correct answer: “99”. “55” keeps only the multiples of 55 and forgets the case where 55 divides M−1M - 1. “44” requires 1010 to divide MM or M−1M - 1, while the factor 22 is already supplied by the other number. “88” counts the values in pairs and forgets 2525, whose next number, 2626, is outside the range.

Check the answer on elev psychos — Exercise 16

Exercise 17

A rectangular grid has 33 rows of 44 squares, that is, 44 horizontal lines and 55 vertical lines. How many rectangles (squares included) can be drawn along the lines of the grid?

  1. (1)6060
  2. (2)1212
  3. (3)2020
  4. (4)240240
Show the answer and the solution

Answer: (1) 6060

Worked solution:

4×32=6\dfrac{4 \times 3}{2} = 6

A rectangle is fixed by two horizontal lines, with no order.

5×42=10\dfrac{5 \times 4}{2} = 10

And by two vertical lines, with no order.

6×10=606 \times 10 = 60

For each horizontal pair, each vertical pair.

The correct answer: “6060”. “1212” counts only the small squares, 3×43 \times 4. “2020” multiplies the numbers of lines, 4×54 \times 5, instead of the pairs of lines. “240240” orders the two lines of each pair, 12×2012 \times 20: each rectangle is then counted four times.

Check the answer on elev psychos — Exercise 17

Exercise 18

At a meeting, each participant shakes hands with each of the others, only once. The number of handshakes is 33 times the number of participants. How many people are at the meeting?

  1. (1)44
  2. (2)55
  3. (3)77
  4. (4)66
Show the answer and the solution

Answer: (3) 77

Worked solution:

n(n−1)2=3n\dfrac{n(n-1)}{2} = 3n

With nn participants, each handshake is a pair.

n−1=6n - 1 = 6

Divide both sides by nn, then multiply by 22.

n=7n = 7

Check: 7×62=21=3×7\dfrac{7 \times 6}{2} = 21 = 3 \times 7.

The correct answer: “77”. “44” forgets to divide by two: n(n−1)=3nn(n - 1) = 3n counts each handshake twice. “55” has each person shake their own hand, n(n+1)2=3n\dfrac{n(n+1)}{2} = 3n. “66” stops at n−1=6n - 1 = 6, the number of hands that each participant shakes.

Check the answer on elev psychos — Exercise 18

Exercise 19

How many five-digit numbers have digits that strictly decrease from left to right?

  1. (1)126126
  2. (2)30,24030{,}240
  3. (3)27,21627{,}216
  4. (4)252252
Show the answer and the solution

Answer: (4) 252252

Worked solution:

10×9×8×7×6=30,24010 \times 9 \times 8 \times 7 \times 6 = 30{,}240

Five different digits out of the ten, as if order mattered.

30,2405!=252\dfrac{30{,}240}{5!} = 252

But the order is set: each choice of five digits gives only one decreasing number. Divide by 5!=1205! = 120.

The correct answer: “252252”. Zero causes no problem: if it is chosen, it goes last, never first. “126126” removes zero from the pool, 9×8×7×6×5120\dfrac{9 \times 8 \times 7 \times 6 \times 5}{120}, as with increasing sequences. “30,24030{,}240” orders the five chosen digits, while the condition “decreasing” fixes their order. “27,21627{,}216” counts all the five-digit numbers with different digits, 9×9×8×7×69 \times 9 \times 8 \times 7 \times 6, and forgets the condition.

Check the answer on elev psychos — Exercise 19

Exercise 20

Five couples attend a party. A committee of 44 members, with no distinct roles, is chosen from these 1010 people so that it includes no couple. How many committees are possible?

  1. (1)210210
  2. (2)8080
  3. (3)55
  4. (4)4040
Show the answer and the solution

Answer: (2) 8080

Worked solution:

5×4×3×24!=5\dfrac{5 \times 4 \times 3 \times 2}{4!} = 5

The four members come from four different couples, chosen with no order among the five: the same as choosing the one couple that stays out.

24=162^{4} = 16

In each of the four couples chosen, one of the two partners.

5×16=805 \times 16 = 80

For each choice of couples, each choice of partners: four of the 1010 people, never two from the same couple.

The correct answer: “8080”. “210210” counts all the committees of 44 out of the 1010, 10×9×8×724\dfrac{10 \times 9 \times 8 \times 7}{24}, and forgets the condition. “55” chooses the couples but forgets to choose the partner in each one. “4040” works out 5×235 \times 2^{3}: it forgets the choice of partner in one of the four couples.

Check the answer on elev psychos — Exercise 20

Keep practising on elev psychos

Videos, instant checking and a path that follows your child's pace, for every chapter of their grade.

This lesson is part of the subscription. A full chapter for free: Numbers