Practice

Book 2. Olympiad Combinatorics Methods

Log in to track solved progress and bookmarks.
Filter: Reset

#1 Advanced Double Counting

Open Chapter Practice
#1.1
#1.1

Number of Odd Degrees

Double counting Grade 8 Grade 9 ★★☆☆☆

Prove that in every finite graph, the number of vertices of odd degree is even.

Details
Problem: COM-B2-M01-P001
Difficulty: Level 2 of 5
Tag: Double counting
Grade: Grade 8, Grade 9
#1.2
#1.2

A Club with Many Members

Average Grade 8 Grade 9 ★★☆☆☆

A school has \(120\) students and \(15\) clubs. Each student attends exactly \(4\) clubs. Prove that some club has at least \(32\) students.

Details
Problem: COM-B2-M01-P002
Difficulty: Level 2 of 5
Tag: Average
Grade: Grade 8, Grade 9
#1.3
#1.3

A Marked Line

Average Grade 8 Grade 9 ★★☆☆☆

In a \(12\times12\) table, \(70\) cells are marked. Prove that some row or column contains at least \(6\) marked cells.

Details
Problem: COM-B2-M01-P003
Difficulty: Level 2 of 5
Tag: Average
Grade: Grade 8, Grade 9
#1.4
#1.4

All Subsets

Double counting Grade 8 Grade 9 ★★☆☆☆

Give a combinatorial proof of \(\sum_{k=0}^{n}\binom nk=2^n\).

Details
Problem: COM-B2-M01-P004
Difficulty: Level 2 of 5
Tag: Double counting
Grade: Grade 8, Grade 9
#1.5
#1.5

A Marked Element

Double counting Grade 8 Grade 9 ★★☆☆☆

Prove \(\sum_{k=0}^n k\binom nk=n2^{n-1}\).

Details
Problem: COM-B2-M01-P005
Difficulty: Level 2 of 5
Tag: Double counting
Grade: Grade 8, Grade 9
#1.6
#1.6

An Element in Many Sets

Average Grade 9 Grade 10 ★★★☆☆

There are \(18\) subsets of a \(10\)-element set, each having at least \(4\) elements. Prove that some element belongs to at least \(8\) subsets.

Details
Problem: COM-B2-M01-P006
Difficulty: Level 3 of 5
Tag: Average
Grade: Grade 9, Grade 10
#1.7
#1.7

A Large Degree

Average Grade 9 Grade 10 ★★★☆☆

A simple graph has \(n\) vertices and more than \(\frac{(r-1)n}{2}\) edges. Prove that some vertex has degree at least \(r\).

Details
Problem: COM-B2-M01-P007
Difficulty: Level 3 of 5
Tag: Average
Grade: Grade 9, Grade 10
#1.8
#1.8

Tournament Wins

Average Grade 9 Grade 10 ★★★☆☆

In a tournament, each of \(n\) players played each other exactly once, with no draws. Prove that some player won at least \(\frac{n-1}{2}\) games, and some player won at most \(\frac{n-1}{2}\) games.

Details
Problem: COM-B2-M01-P008
Difficulty: Level 3 of 5
Tag: Average
Grade: Grade 9, Grade 10
#1.9
#1.9

Two Marked Points

Double counting Grade 9 Grade 10 ★★★☆☆

Prove the identity \(\sum_{k=0}^n \binom{k}{2}\binom nk=\binom n2 2^{n-2}\).

Details
Problem: COM-B2-M01-P009
Difficulty: Level 3 of 5
Tag: Double counting
Grade: Grade 9, Grade 10
#1.10
#1.10

Common Marked Columns

Double counting Grade 9 Grade 10 ★★★☆☆

In a \(6\times6\) table, exactly \(3\) cells are marked in each row. Prove that there are two columns that are marked together in at least two rows.

Details
Problem: COM-B2-M01-P010
Difficulty: Level 3 of 5
Tag: Double counting
Grade: Grade 9, Grade 10
#1.11
#1.11

Two Sets with Large Intersection

Average Grade 9 Grade 10 ★★★☆☆

There are \(8\) three-element subsets of a \(5\)-element set. Prove that two of them have at least two common elements.

Details
Problem: COM-B2-M01-P011
Difficulty: Level 3 of 5
Tag: Average
Grade: Grade 9, Grade 10
#1.12
#1.12

Many Solved Problems

Average Grade 9 Grade 10 ★★★☆☆

At an olympiad, there are \(30\) participants and \(6\) problems. Each participant solved at least \(3\) problems. Prove that some problem was solved by at least \(15\) participants.

Details
Problem: COM-B2-M01-P012
Difficulty: Level 3 of 5
Tag: Average
Grade: Grade 9, Grade 10
#1.13
#1.13

Almost Disjoint Blocks

Sets Grade 9 Grade 10 ★★★★☆

In an \(n\)-element set, \(m\) subsets of size \(k\) are chosen. Any two chosen subsets have at most one common element. Prove that \(m\binom{k}{2}\le\binom n2\).

Details
Problem: COM-B2-M01-P013
Difficulty: Level 4 of 5
Tag: Sets
Grade: Grade 9, Grade 10
#1.14
#1.14

Rows with Limited Intersections

Rows Columns Grade 9 Grade 10 ★★★★☆

In an \(n\times n\) table, exactly \(r\) cells are marked in each row. Any two columns are marked together in at most one row. Prove that \(n\binom r2\le\binom n2\).

Details
Problem: COM-B2-M01-P014
Difficulty: Level 4 of 5
Tag: Rows Columns
Grade: Grade 9, Grade 10
#1.15
#1.15

Paths of Length Two

Double counting Grade 10 Grade 11 ★★★★☆

In a graph, the vertex degrees are \(d_1,\ldots,d_n\). Prove that the number of unordered paths of length \(2\) is \(\sum_{i=1}^n\binom{d_i}{2}\).

Details
Problem: COM-B2-M01-P015
Difficulty: Level 4 of 5
Tag: Double counting
Grade: Grade 10, Grade 11
#1.16
#1.16

Common Solved Problems

Average Grade 10 Grade 11 ★★★★☆

There are \(21\) students and \(10\) problems. Each student solved at least \(6\) problems. Prove that two students solved at least \(4\) common problems.

Details
Problem: COM-B2-M01-P016
Difficulty: Level 4 of 5
Tag: Average
Grade: Grade 10, Grade 11
#1.17
#1.17

Large Intersection Among Many Sets

Double counting Grade 10 Grade 11 ★★★★☆

In a \(20\)-element set, \(30\) subsets of size \(6\) are chosen. Prove that two of them intersect in at least two elements.

Details
Problem: COM-B2-M01-P017
Difficulty: Level 4 of 5
Tag: Double counting
Grade: Grade 10, Grade 11
#1.18
#1.18

Generalisation to \((t+1)\)-Subsets

Sets Grade 10 Grade 11 ★★★★★

Suppose \(m\) subsets of size \(k\) are chosen in an \(n\)-element set. Any two chosen subsets have at most \(t\) common elements. Prove that \(m\binom{k}{t+1}\le\binom{n}{t+1}\).

Details
Problem: COM-B2-M01-P018
Difficulty: Level 5 of 5
Tag: Sets
Grade: Grade 10, Grade 11
#1.19
#1.19

Many Paths of Length Two

Double counting Grade 10 Grade 11 ★★★★★

A graph has \(n\) vertices and \(m\) edges. Prove that the number of length-\(2\) paths is at least \(n\binom{\frac{2m}{n}}{2}\), where \(\binom{x}{2}=\frac{x(x-1)}2\). Explain why this implies: if the average degree is greater than \(r\), then some vertex lies in more than \(\binom r2\) length-\(2\) paths as the middle vertex.

Details
Problem: COM-B2-M01-P019
Difficulty: Level 5 of 5
Tag: Double counting
Grade: Grade 10, Grade 11
#1.20
#1.20

Strong Intersection Through an Average

Double counting Grade 10 Grade 11 ★★★★★

Let \(A_1,\ldots,A_m\) be subsets of an \(n\)-element set, each of size at least \(r\). Prove that there exist two sets \(A_i,A_j\) such that

\[\left|A_i\cap A_j\right|\ge \frac{r(mr-n)}{n(m-1)}.\]

Details
Problem: COM-B2-M01-P020
Difficulty: Level 5 of 5
Tag: Double counting
Grade: Grade 10, Grade 11

#2 Inclusion-Exclusion

Open Chapter Practice
#2.1
#2.1

Two Sets

Inclusion-exclusion Grade 8 Grade 9 ★★☆☆☆

In a class, \(18\) students study English, \(14\) study German, and \(6\) study both. How many students study at least one of these languages?

Details
Problem: COM-B2-M02-P001
Difficulty: Level 2 of 5
Tag: Inclusion-exclusion
Grade: Grade 8, Grade 9
#2.2
#2.2

Divisible by \(3\) or \(5\)

Counting Grade 8 Grade 9 ★★☆☆☆

How many integers from \(1\) to \(200\) are divisible by \(3\) or by \(5\)?

Details
Problem: COM-B2-M02-P002
Difficulty: Level 2 of 5
Tag: Counting
Grade: Grade 8, Grade 9
#2.3
#2.3

At Least One Letter \(A\)

Counting Grade 8 Grade 9 ★★☆☆☆

How many words of length \(6\) over the alphabet \(\{A,B,C,D\}\) contain at least one letter \(A\)?

Details
Problem: COM-B2-M02-P003
Difficulty: Level 2 of 5
Tag: Counting
Grade: Grade 8, Grade 9
#2.4
#2.4

All Three Letters

Inclusion-exclusion Grade 8 Grade 9 ★★☆☆☆

How many words of length \(5\) over the alphabet \(\{A,B,C\}\) contain all three letters?

Details
Problem: COM-B2-M02-P004
Difficulty: Level 2 of 5
Tag: Inclusion-exclusion
Grade: Grade 8, Grade 9
#2.5
#2.5

Derangements of Four Elements

Permutations Grade 8 Grade 9 ★★☆☆☆

How many permutations of \(4\) elements have no fixed points?

Details
Problem: COM-B2-M02-P005
Difficulty: Level 2 of 5
Tag: Permutations
Grade: Grade 8, Grade 9
#2.6
#2.6

Not Divisible by \(2,3,5\)

Divisibility Grade 9 Grade 10 ★★★☆☆

How many integers from \(1\) to \(1000\) are divisible by none of \(2,3,5\)?

Details
Problem: COM-B2-M02-P006
Difficulty: Level 3 of 5
Tag: Divisibility
Grade: Grade 9, Grade 10
#2.7
#2.7

Onto Three Values

Inclusion-exclusion Grade 9 Grade 10 ★★★☆☆

How many functions from a \(6\)-element set to a \(3\)-element set are onto?

Details
Problem: COM-B2-M02-P007
Difficulty: Level 3 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10
#2.8
#2.8

Three Forbidden Positions

Permutations Grade 9 Grade 10 ★★★☆☆

How many permutations of \(1,\ldots,8\) place \(1,2,3\) away from their own positions?

Details
Problem: COM-B2-M02-P008
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.9
#2.9

Derangement Formula

Permutations Grade 9 Grade 10 ★★★☆☆

Prove that the number of permutations of \(n\) elements with no fixed points is \(D_n=n!\sum_{i=0}^{n}\frac{(-1)^i}{i!}\).

Details
Problem: COM-B2-M02-P009
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.10
#2.10

Exactly Two Fixed Points

Permutations Grade 9 Grade 10 ★★★☆☆

How many permutations of \(7\) elements have exactly \(2\) fixed points?

Details
Problem: COM-B2-M02-P010
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.11
#2.11

Zero, One, and Two Occur

Inclusion-exclusion Grade 9 Grade 10 ★★★☆☆

How many strings of length \(8\) over decimal digits contain each of the digits \(0,1,2\) at least once?

Details
Problem: COM-B2-M02-P011
Difficulty: Level 3 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10
#2.12
#2.12

Two Pairs of Restrictions

Permutations Grade 9 Grade 10 ★★★☆☆

How many permutations of \(1,\ldots,6\) place \(1\) away from position \(1\), \(2\) away from position \(2\), \(3\) away from position \(3\), and \(4\) away from position \(4\)?

Details
Problem: COM-B2-M02-P012
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.13
#2.13

General Formula for Surjections

Inclusion-exclusion Grade 10 Grade 11 ★★★★☆

Prove that the number of onto functions from an \(n\)-element set to an \(m\)-element set is \(\sum_{i=0}^{m}(-1)^i\binom mi(m-i)^n\).

Details
Problem: COM-B2-M02-P013
Difficulty: Level 4 of 5
Tag: Inclusion-exclusion
Grade: Grade 10, Grade 11
#2.14
#2.14

Exactly \(k\) Fixed Points

Permutations Grade 10 Grade 11 ★★★★☆

Prove that the number of permutations of \(n\) elements with exactly \(k\) fixed points is \(\binom nkD_{n-k}\).

Details
Problem: COM-B2-M02-P014
Difficulty: Level 4 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.15
#2.15

Recurrence for Derangements

Permutations Grade 10 Grade 11 ★★★★☆

Prove the recurrence \(D_n=(n-1)(D_{n-1}+D_{n-2})\) for \(n\ge2\).

Details
Problem: COM-B2-M02-P015
Difficulty: Level 4 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.16
#2.16

Forbidden Positions in Rook Form

Permutations Grade 10 Grade 11 ★★★★☆

How many permutations \(\pi\) of \(1,\ldots,5\) satisfy \(\pi(1)\ne1\), \(\pi(1)\ne2\), \(\pi(2)\ne1\)?

Details
Problem: COM-B2-M02-P016
Difficulty: Level 4 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.17
#2.17

Contribution of One Object

Inclusion-exclusion Grade 10 Grade 11 ★★★★☆

Prove the general inclusion-exclusion formula by explaining the contribution of one object that belongs to exactly \(r\) of the sets \(A_1,\ldots,A_m\).

Details
Problem: COM-B2-M02-P017
Difficulty: Level 4 of 5
Tag: Inclusion-exclusion
Grade: Grade 10, Grade 11
#2.18
#2.18

First \(r\) Not Fixed

Permutations Grade 10 Grade 11 ★★★★★

Prove that the number of permutations of \(n\) elements in which elements \(1,2,\ldots,r\) are not fixed is \(\sum_{i=0}^{r}(-1)^i\binom ri(n-i)!\).

Details
Problem: COM-B2-M02-P018
Difficulty: Level 5 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.19
#2.19

All Boxes Nonempty

Inclusion-exclusion Grade 10 Grade 11 ★★★★★

How many ways are there to distribute \(n\) distinct balls among \(m\) distinct boxes so that every box is nonempty? Derive a formula.

Details
Problem: COM-B2-M02-P019
Difficulty: Level 5 of 5
Tag: Inclusion-exclusion
Grade: Grade 10, Grade 11
#2.20
#2.20

No Fixed Points and No Transpositions

Permutations Grade 10 Grade 11 ★★★★★

Derive a formula for the number of permutations of \(n\) elements with no fixed points and no cycles of length \(2\).

Details
Problem: COM-B2-M02-P020
Difficulty: Level 5 of 5
Tag: Permutations
Grade: Grade 10, Grade 11

#3 Bijections and Encoding Objects

Open Chapter Practice
#3.1
#3.1

Subsets as Strings

Subsets Grade 8 Grade 9 ★★☆☆☆

Construct a bijection between subsets of \(\{1,\ldots,n\}\) and binary strings of length \(n\). Conclude that there are \(2^n\) subsets.

Details
Problem: COM-B2-M03-P001
Difficulty: Level 2 of 5
Tag: Subsets
Grade: Grade 8, Grade 9
#3.2
#3.2

Paths as Words

Bijection Grade 8 Grade 9 ★★☆☆☆

How many monotone paths go from \((0,0)\) to \((5,4)\), using only right and up steps?

Details
Problem: COM-B2-M03-P002
Difficulty: Level 2 of 5
Tag: Bijection
Grade: Grade 8, Grade 9
#3.3
#3.3

Nonnegative Solutions

Stars and Bars Grade 8 Grade 9 ★★☆☆☆

How many nonnegative integer solutions does \(x_1+x_2+x_3=10\) have?

Details
Problem: COM-B2-M03-P003
Difficulty: Level 2 of 5
Tag: Stars and Bars
Grade: Grade 8, Grade 9
Source: com_3.md (method inspiration)
#3.4
#3.4

Positive Solutions

Stars and Bars Grade 8 Grade 9 ★★☆☆☆

How many positive integer solutions does \(x_1+x_2+x_3+x_4=17\) have?

Details
Problem: COM-B2-M03-P004
Difficulty: Level 2 of 5
Tag: Stars and Bars
Grade: Grade 8, Grade 9
#3.5
#3.5

Complement of a Subset

Complement method Grade 8 Grade 9 ★★☆☆☆

Prove combinatorially that \(\binom{n}{k}=\binom{n}{n-k}\).

Details
Problem: COM-B2-M03-P005
Difficulty: Level 2 of 5
Tag: Complement method
Grade: Grade 8, Grade 9
#3.6
#3.6

Even and Odd Are Equal

Parity Grade 9 Grade 10 ★★★☆☆

Prove that for an \(n\)-element set with \(n\ge1\), the number of even-sized subsets equals the number of odd-sized subsets.

Details
Problem: COM-B2-M03-P006
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#3.7
#3.7

Pascal Identity

Subsets Grade 9 Grade 10 ★★★☆☆

Prove by bijection the identity \(\binom{n}{k}=\binom{n-1}{k}+\binom{n-1}{k-1}\).

Details
Problem: COM-B2-M03-P007
Difficulty: Level 3 of 5
Tag: Subsets
Grade: Grade 9, Grade 10
#3.8
#3.8

Path Through a Point

Bijection Grade 9 Grade 10 ★★★☆☆

How many monotone paths from \((0,0)\) to \((7,5)\) pass through \((3,2)\)?

Details
Problem: COM-B2-M03-P008
Difficulty: Level 3 of 5
Tag: Bijection
Grade: Grade 9, Grade 10
#3.9
#3.9

Lower Bounds

Stars and Bars Grade 9 Grade 10 ★★★☆☆

How many integer solutions does \(x_1+x_2+x_3+x_4=30\) have if \(x_1\ge2\), \(x_2\ge4\), \(x_3\ge0\), \(x_4\ge5\)?

Details
Problem: COM-B2-M03-P009
Difficulty: Level 3 of 5
Tag: Stars and Bars
Grade: Grade 9, Grade 10
#3.10
#3.10

No Consecutive Numbers

Subsets Grade 9 Grade 10 ★★★☆☆

How many \(5\)-element subsets of \(\{1,\ldots,18\}\) contain no consecutive numbers?

Details
Problem: COM-B2-M03-P010
Difficulty: Level 3 of 5
Tag: Subsets
Grade: Grade 9, Grade 10
#3.11
#3.11

Partitions and Transposition

Bijection Grade 9 Grade 10 ★★★☆☆

Prove that the number of partitions of \(n\) into at most \(k\) parts equals the number of partitions of \(n\) in which each part is at most \(k\).

Details
Problem: COM-B2-M03-P011
Difficulty: Level 3 of 5
Tag: Bijection
Grade: Grade 9, Grade 10
#3.12
#3.12

Compositions and Separators

Stars and Bars Grade 9 Grade 10 ★★★☆☆

Prove that the number of ways to write \(n\) as a sum of \(k\) positive integers, with order taken into account, is \(\binom{n-1}{k-1}\).

Details
Problem: COM-B2-M03-P012
Difficulty: Level 3 of 5
Tag: Stars and Bars
Grade: Grade 9, Grade 10
Source: com_3.md (method inspiration)
#3.13
#3.13

Path Below the Diagonal

Reflection Grade 9 Grade 10 ★★★★☆

Find the number of paths from \((0,0)\) to \((n,n)\), using \(R,U\), that never go above the line \(y=x\).

Details
Problem: COM-B2-M03-P013
Difficulty: Level 4 of 5
Tag: Reflection
Grade: Grade 9, Grade 10
#3.14
#3.14

Ballot Count

Reflection Grade 10 Grade 11 ★★★★☆

Let \(p>q\). How many words with \(p\) letters \(A\) and \(q\) letters \(B\) have the property that in every initial segment, the number of \(A\)'s is strictly greater than the number of \(B\)'s?

Details
Problem: COM-B2-M03-P014
Difficulty: Level 4 of 5
Tag: Reflection
Grade: Grade 10, Grade 11
#3.15
#3.15

Parentheses and Paths

Bijection Grade 9 Grade 10 ★★★★☆

Construct a bijection between correct parenthesis sequences with \(n\) pairs of parentheses and paths from \((0,0)\) to \((n,n)\) that never go above the diagonal \(y=x\).

Details
Problem: COM-B2-M03-P015
Difficulty: Level 4 of 5
Tag: Bijection
Grade: Grade 9, Grade 10
#3.16
#3.16

Distinct and Odd Parts

Bijection Grade 10 Grade 11 ★★★★☆

Prove that the number of partitions of \(n\) into distinct parts equals the number of partitions of \(n\) into odd parts.

Details
Problem: COM-B2-M03-P016
Difficulty: Level 4 of 5
Tag: Bijection
Grade: Grade 10, Grade 11
#3.17
#3.17

An Involution for an Alternating Sum

Binomial Coefficients Grade 10 Grade 11 ★★★★☆

Give a bijective proof that \(\sum_{k=0}^{n}(-1)^k\binom nk=0\) for \(n\ge1\).

Details
Problem: COM-B2-M03-P017
Difficulty: Level 4 of 5
Tag: Binomial Coefficients
Grade: Grade 10, Grade 11
#3.18
#3.18

Prüfer Code

Graphs Grade 10 Grade 11 ★★★★★

Prove that the number of labelled trees on vertices \(1,\ldots,n\) is \(n^{n-2}\).

Details
Problem: COM-B2-M03-P018
Difficulty: Level 5 of 5
Tag: Graphs
Grade: Grade 10, Grade 11
#3.19
#3.19

Catalan Objects

Bijection Grade 10 Grade 11 ★★★★★

Construct a bijection between correct parenthesis sequences with \(n\) pairs of parentheses and triangulations of a convex \((n+2)\)-gon, using the recursive description: the first pair of parentheses determines the triangle adjacent to a fixed side.

Details
Problem: COM-B2-M03-P019
Difficulty: Level 5 of 5
Tag: Bijection
Grade: Grade 10, Grade 11
#3.20
#3.20

General Reflection

Reflection Grade 10 Grade 11 ★★★★★

Let \(a\ge b\). Find the number of paths from \((0,0)\) to \((a,b)\), using \(R,U\), that never go above the diagonal \(y=x\).

Details
Problem: COM-B2-M03-P020
Difficulty: Level 5 of 5
Tag: Reflection
Grade: Grade 10, Grade 11

#4 Extremal Principle

Open Chapter Practice
#4.1
#4.1

A Chain of Larger Numbers

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

In a finite nonempty set of positive numbers, to each number \(x\) there is assigned a number \(f(x)\) from the same set such that \(f(x)>x\). Prove that this is impossible.

Details
Problem: COM-B2-M04-P001
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.2
#4.2

Arrows and a Cycle

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

In a finite set of points, from each point an arrow is drawn to one of the other points. Prove that by following arrows one eventually enters a cycle.

Details
Problem: COM-B2-M04-P002
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.3
#4.3

Endpoint of a Longest Path

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

In a finite graph, a path of maximum length \(v_1v_2\ldots v_k\) is chosen. Prove that every neighbour of \(v_k\) already belongs to this path.

Details
Problem: COM-B2-M04-P003
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.4
#4.4

A Leaf in a Tree

Extremal Principle Grade 8 Grade 9 ★★☆☆☆

Prove that every finite tree with at least two vertices has a vertex of degree \(1\).

Details
Problem: COM-B2-M04-P004
Difficulty: Level 2 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.5
#4.5

A Common Point of Intervals

Intervals Grade 8 Grade 9 ★★☆☆☆

Several intervals are given on a line. Any two of them have a common point. Prove that there is a point belonging to all intervals.

Details
Problem: COM-B2-M04-P005
Difficulty: Level 2 of 5
Tag: Intervals
Grade: Grade 8, Grade 9
#4.6
#4.6

A Connected Graph and a Tree

Extremal Principle Grade 8 Grade 9 ★★★☆☆

Prove that from every finite connected graph one can remove some edges so that the graph remains connected and contains no cycles.

Details
Problem: COM-B2-M04-P006
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.7
#4.7

Minimum Degree and a Cycle

Extremal Principle Grade 8 Grade 9 ★★★☆☆

In a finite graph, every vertex has degree at least \(2\). Prove that the graph contains a cycle.

Details
Problem: COM-B2-M04-P007
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 8, Grade 9
#4.8
#4.8

A Maximal Unextendable Set

Sets Grade 8 Grade 9 Grade 10 ★★★☆☆

In the set \(\{1,2,\ldots,2n\}\), a subset \(A\) is chosen so that no new number can be added while still having no two numbers with sum \(2n+1\). Prove that \(A\) contains exactly one number from each pair \(\{1,2n\},\{2,2n-1\},\ldots,\{n,n+1\}\).

Details
Problem: COM-B2-M04-P008
Difficulty: Level 3 of 5
Tag: Sets
Grade: Grade 8, Grade 9, Grade 10
#4.9
#4.9

A Maximal Matching by Inclusion

Extremal Principle Grade 9 Grade 10 ★★★☆☆

In a graph, a set of pairwise disjoint edges is chosen so that no further edge can be added. Prove that there is no edge between two vertices not covered by the chosen edges.

Details
Problem: COM-B2-M04-P009
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.10
#4.10

Sums of Threes and Fives

Casework Grade 9 Grade 10 ★★★☆☆

Prove that every integer \(n\ge 8\) can be represented as \(n=3a+5b\), where \(a,b\) are nonnegative integers.

Details
Problem: COM-B2-M04-P010
Difficulty: Level 3 of 5
Tag: Casework
Grade: Grade 9, Grade 10
#4.11
#4.11

Swapping Neighbours

Invariant Grade 9 Grade 10 ★★★☆☆

The numbers \(1,2,\ldots,n\) are arranged in some order. In one move, one may swap two neighbouring numbers if the left one is larger than the right one. Prove that no matter how the moves are chosen, the process ends with the increasing sequence.

Details
Problem: COM-B2-M04-P011
Difficulty: Level 3 of 5
Tag: Invariant
Grade: Grade 9, Grade 10
#4.12
#4.12

Players Who Know Everyone

Extremal Principle Grade 9 Grade 10 ★★★☆☆

In a group of \(n\ge 3\) people, acquaintance is mutual. It is known that at least one person does not know everyone. What is the largest possible number of people who can still know everyone else? Prove your answer.

Details
Problem: COM-B2-M04-P012
Difficulty: Level 3 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
Source: 102-combinatorial-problems (method inspiration)
#4.13
#4.13

A Path in a Tournament

Tournaments Grade 9 Grade 10 ★★★★☆

In a tournament, between any two vertices exactly one directed edge is drawn. Prove that all vertices can be ordered as \(v_1,v_2,\ldots,v_n\) so that for every \(i\), the edge is directed from \(v_i\) to \(v_{i+1}\).

Details
Problem: COM-B2-M04-P013
Difficulty: Level 4 of 5
Tag: Tournaments
Grade: Grade 9, Grade 10
#4.14
#4.14

Two Colours and a Maximal Chain

Extremal Principle Grade 9 Grade 10 ★★★★☆

In a row of \(n\) cells, each cell is coloured red or blue. One may choose several disjoint neighbouring pairs of different colours. The chosen set of pairs is maximal by inclusion. Prove that among the unchosen cells there are no two neighbouring cells of different colours.

Details
Problem: COM-B2-M04-P014
Difficulty: Level 4 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.15
#4.15

A Long Cycle from Minimum Degree

Extremal Principle Grade 9 Grade 10 ★★★★☆

In a finite graph, every vertex has degree at least \(k\), where \(k\ge 2\). Prove that the graph contains a cycle with at least \(k+1\) vertices.

Details
Problem: COM-B2-M04-P015
Difficulty: Level 4 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.16
#4.16

A Maximum Sum Without Repetition

Pigeonhole principle Grade 9 Grade 10 ★★★★☆

Let \(A\) be a set of distinct positive integers, and suppose no two different nonempty subsets of \(A\) have the same sum. Prove that if \(A\) contains \(k\) numbers, then the sum of all numbers in \(A\) is at least \(2^k-1\).

Details
Problem: COM-B2-M04-P016
Difficulty: Level 4 of 5
Tag: Pigeonhole principle
Grade: Grade 9, Grade 10
#4.17
#4.17

Two Farthest Vertices of a Tree

Extremal Principle Grade 9 Grade 10 ★★★★☆

In a tree, two vertices \(A\) and \(B\) are chosen so that the distance between them is as large as possible. Prove that both vertices are leaves.

Details
Problem: COM-B2-M04-P017
Difficulty: Level 4 of 5
Tag: Extremal Principle
Grade: Grade 9, Grade 10
#4.18
#4.18

A Monotone Subsequence

Pigeonhole principle Grade 10 Grade 11 ★★★★★

A sequence of \(n^2+1\) distinct real numbers is given. Prove that it contains an increasing subsequence of length \(n+1\) or a decreasing subsequence of length \(n+1\).

Details
Problem: COM-B2-M04-P018
Difficulty: Level 5 of 5
Tag: Pigeonhole principle
Grade: Grade 10, Grade 11
#4.19
#4.19

A King in a Tournament

Tournaments Grade 10 Grade 11 ★★★★★

Prove that in every tournament there is a vertex \(v\) from which every other vertex can be reached by a directed path of length at most \(2\).

Details
Problem: COM-B2-M04-P019
Difficulty: Level 5 of 5
Tag: Tournaments
Grade: Grade 10, Grade 11
#4.20
#4.20

Two Longest Paths

Extremal Principle Grade 10 Grade 11 ★★★★★

Prove that in every finite connected graph, any two paths of maximum length have at least one common vertex.

Details
Problem: COM-B2-M04-P020
Difficulty: Level 5 of 5
Tag: Extremal Principle
Grade: Grade 10, Grade 11

#5 Invariants II and Monovariants

Open Chapter Practice
#5.1
#5.1

Two Coins per Move

Parity Grade 8 Grade 9 ★★☆☆☆

There are \(25\) coins on a table. Initially exactly one coin shows its black side. In one move exactly two coins must be flipped. Prove that it is impossible to reach a position in which all coins show their white side.

Details
Problem: COM-B2-M05-P001
Difficulty: Level 2 of 5
Tag: Parity
Grade: Grade 8, Grade 9
#5.2
#5.2

Two Same-Coloured Corner Squares

Coloring Grade 8 Grade 9 ★★☆☆☆

From an \(8\times8\) board, two corner squares of the same colour are removed. Prove that the remaining board cannot be tiled by \(1\times2\) dominoes.

Details
Problem: COM-B2-M05-P002
Difficulty: Level 2 of 5
Tag: Coloring
Grade: Grade 8, Grade 9
#5.3
#5.3

Three Negative Signs

Invariant Grade 8 Grade 9 ★★☆☆☆

Three signs \(+,+,+\) are written on a board. In one move, choose two signs and replace each by the opposite sign. Prove that \(-,-,-\) cannot be obtained.

Details
Problem: COM-B2-M05-P003
Difficulty: Level 2 of 5
Tag: Invariant
Grade: Grade 8, Grade 9
#5.4
#5.4

Steps on a Line

Modular Arithmetic Grade 8 Grade 9 ★★☆☆☆

A token starts at point \(0\). In one move it may be shifted \(10\) units to the right or \(15\) units to the left. Prove that it will never reach point \(2026\).

Details
Problem: COM-B2-M05-P004
Difficulty: Level 2 of 5
Tag: Modular Arithmetic
Grade: Grade 8, Grade 9
#5.5
#5.5

Balancing Two Piles

Process Grade 8 Grade 9 ★★☆☆☆

Two piles contain \(a\) and \(b\) stones, with \(a\ge b+2\). In one move, one stone is moved from the larger pile to the smaller pile. Prove that the sum of squares of pile sizes decreases.

Details
Problem: COM-B2-M05-P005
Difficulty: Level 2 of 5
Tag: Process
Grade: Grade 8, Grade 9
#5.6
#5.6

Three Colours of Stones

Modular Arithmetic Grade 9 Grade 10 ★★★☆☆

There are \(20\) red, \(21\) blue, and \(22\) green stones. In one move, choose two stones of different colours, remove them, and add two stones of the third colour. Prove that it is impossible to reach a state in which all stones have one colour.

Details
Problem: COM-B2-M05-P006
Difficulty: Level 3 of 5
Tag: Modular Arithmetic
Grade: Grade 9, Grade 10
#5.7
#5.7

The Difference Algorithm

GCD Grade 9 Grade 10 ★★★☆☆

Positive integers \(84\) and \(30\) are given. In one move, the larger number is replaced by the difference of the larger and the smaller. Prove that the pair \(7,7\) cannot be obtained.

Details
Problem: COM-B2-M05-P007
Difficulty: Level 3 of 5
Tag: GCD
Grade: Grade 9, Grade 10
#5.8
#5.8

Signs on a Cycle

Invariant Grade 9 Grade 10 ★★★☆☆

Signs are written at the vertices of a cycle with \(9\) vertices. In one move, choose an edge of the cycle and change the signs at both its endpoints. Initially exactly one vertex has sign \(-\). Prove that it is impossible to make all signs positive.

Details
Problem: COM-B2-M05-P008
Difficulty: Level 3 of 5
Tag: Invariant
Grade: Grade 9, Grade 10
#5.9
#5.9

Knight Moves and Colours

Coloring Grade 9 Grade 10 ★★★☆☆

A knight is to visit all squares of a \(5\times5\) board exactly once. Prove that such a path cannot be closed, meaning the last move cannot return the knight to the starting square.

Details
Problem: COM-B2-M05-P009
Difficulty: Level 3 of 5
Tag: Coloring
Grade: Grade 9, Grade 10
#5.10
#5.10

Corners of a Rectangle

Parity Grade 9 Grade 10 ★★★☆☆

On a \(6\times6\) board, all cells are white. In one move, choose a rectangle with sides along grid lines and change the colours of its four corner cells. Prove that a position with exactly one black cell cannot be obtained.

Details
Problem: COM-B2-M05-P010
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#5.11
#5.11

Sorting by Adjacent Swaps

Invariant Grade 9 Grade 10 ★★★☆☆

The numbers \(1,2,\ldots,n\) are arranged in an arbitrary order. If two neighbouring numbers are in the wrong order, they may be swapped. Prove that the process cannot continue forever.

Details
Problem: COM-B2-M05-P011
Difficulty: Level 3 of 5
Tag: Invariant
Grade: Grade 9, Grade 10
#5.12
#5.12

Stones Move to the Right

Process Grade 9 Grade 10 ★★★☆☆

Several stones lie on a strip of \(n\) cells. In one move, one stone may be moved one cell to the right if it is not in the \(n\)-th cell. Prove that an infinite sequence of moves is impossible.

Details
Problem: COM-B2-M05-P012
Difficulty: Level 3 of 5
Tag: Process
Grade: Grade 9, Grade 10
#5.13
#5.13

A Criterion for Signs on a Connected Graph

Invariant Grade 9 Grade 10 ★★★★☆

Signs \(+\) and \(-\) are written at the vertices of a connected graph. In one move, choose an edge and change the signs at both endpoints. Prove that all signs can be made positive if and only if the initial number of negative signs is even.

Details
Problem: COM-B2-M05-P013
Difficulty: Level 4 of 5
Tag: Invariant
Grade: Grade 9, Grade 10
#5.14
#5.14

Odd Rows and Columns

Parity Grade 9 Grade 10 ★★★★☆

On a \(10\times14\) board coloured like a chessboard, some cells are marked. In every row and every column, an odd number of cells is marked. Prove that the number of marked black cells is even.

Details
Problem: COM-B2-M05-P014
Difficulty: Level 4 of 5
Tag: Parity
Grade: Grade 9, Grade 10
Source: 102-combinatorial-problems (method inspiration)
#5.15
#5.15

Rectangle Corners: A Complete Invariant

Coloring Grade 9 Grade 10 ★★★★☆

On a \(5\times7\) board, all cells are white. In one move, choose a rectangle and change the colours of its four corner cells. Prove that in every reachable colouring, every row and every column contains an even number of black cells.

Details
Problem: COM-B2-M05-P015
Difficulty: Level 4 of 5
Tag: Coloring
Grade: Grade 9, Grade 10
#5.16
#5.16

Piles Become Almost Equal

Process Grade 9 Grade 10 ★★★★☆

Several piles contain stones. If one pile has at least \(2\) more stones than another, one may move one stone from the larger pile to the smaller pile. Prove that the process must terminate, and at the end any two pile sizes differ by at most \(1\).

Details
Problem: COM-B2-M05-P016
Difficulty: Level 4 of 5
Tag: Process
Grade: Grade 9, Grade 10
Source: 102-combinatorial-problems (method inspiration)
#5.17
#5.17

Euclid's Algorithm as a Process

GCD Grade 9 Grade 10 ★★★★☆

Two positive integers \(a\) and \(b\) are given. In one move, the larger number is replaced by the difference of the larger and the smaller. Prove that the process must reach the pair \(d,d\), where \(d=\gcd(a,b)\).

Details
Problem: COM-B2-M05-P017
Difficulty: Level 4 of 5
Tag: GCD
Grade: Grade 9, Grade 10
#5.18
#5.18

A Criterion for \(2\times2\) Blocks

Parity Grade 10 Grade 11 ★★★★★

On an \(m\times n\) board, where \(m,n\ge2\), all cells are white. In one move, choose a contiguous \(2\times2\) block and change the colours of all four of its cells. Prove that a colouring is reachable if and only if every row and every column contains an even number of black cells.

Details
Problem: COM-B2-M05-P018
Difficulty: Level 5 of 5
Tag: Parity
Grade: Grade 10, Grade 11
#5.19
#5.19

Parity on a Chessboard

Parity Grade 10 Grade 11 ★★★★★

On a \(14\times18\) board coloured like a chessboard, some cells are marked. In every row and every column, an odd number of cells is marked. Prove that the number of marked white cells is even.

Details
Problem: COM-B2-M05-P019
Difficulty: Level 5 of 5
Tag: Parity
Grade: Grade 10, Grade 11
Source: 102-combinatorial-problems (method inspiration)
#5.20
#5.20

Switching Rows and Columns

Parity Grade 10 Grade 11 ★★★★★

On an \(m\times n\) board, all cells are white. In one move, choose a row or a column and change the colours of all cells in it. Prove that every reachable colouring has the property that the corners of any rectangle contain an even number of black cells. Also prove the converse: if a colouring has this property, then it can be obtained by such moves.

Details
Problem: COM-B2-M05-P020
Difficulty: Level 5 of 5
Tag: Parity
Grade: Grade 10, Grade 11

#6 Ramsey-Type Ideas

Open Chapter Practice
#6.1
#6.1

Five Edges from One Vertex

Pigeonhole principle Grade 8 Grade 9 ★★☆☆☆

From a vertex of the complete graph on \(6\) vertices, \(5\) edges leave, each red or blue. Prove that among them there are \(3\) edges of the same colour.

Details
Problem: COM-B2-M06-P001
Difficulty: Level 2 of 5
Tag: Pigeonhole principle
Grade: Grade 8, Grade 9
#6.2
#6.2

Two Sides of One Colour

Graph Theory Grade 8 Grade 9 ★★☆☆☆

The edges of a triangle are coloured red and blue. Prove that two of its sides have the same colour.

Details
Problem: COM-B2-M06-P002
Difficulty: Level 2 of 5
Tag: Graph Theory
Grade: Grade 8, Grade 9
#6.3
#6.3

A Monochromatic Path of Length Two

Ramsey Grade 8 Grade 9 ★★☆☆☆

Prove that in every red-blue colouring of the edges of \(K_4\), there is a path consisting of two edges of the same colour.

Details
Problem: COM-B2-M06-P003
Difficulty: Level 2 of 5
Tag: Ramsey
Grade: Grade 8, Grade 9
#6.4
#6.4

A Pentagon Without a Monochromatic Triangle

Construction Grade 8 Grade 9 ★★☆☆☆

Construct a red-blue colouring of the edges of \(K_5\) with no monochromatic triangle.

Details
Problem: COM-B2-M06-P004
Difficulty: Level 2 of 5
Tag: Construction
Grade: Grade 8, Grade 9
#6.5
#6.5

A Monochromatic Star

Pigeonhole principle Grade 8 Grade 9 ★★☆☆☆

Edges from one vertex to \(2m-1\) other vertices are coloured red and blue. Prove that there are \(m\) edges of the same colour.

Details
Problem: COM-B2-M06-P005
Difficulty: Level 2 of 5
Tag: Pigeonhole principle
Grade: Grade 8, Grade 9
#6.6
#6.6

A Monochromatic Triangle in \(K_6\)

Graph Theory Grade 9 Grade 10 ★★★☆☆

Prove that every red-blue colouring of the edges of the complete graph \(K_6\) contains a monochromatic triangle.

Details
Problem: COM-B2-M06-P006
Difficulty: Level 3 of 5
Tag: Graph Theory
Grade: Grade 9, Grade 10
#6.7
#6.7

Six People

Graph Theory Grade 9 Grade 10 ★★★☆☆

Prove that among any \(6\) people there are either \(3\) pairwise acquainted people or \(3\) pairwise unacquainted people. Assume acquaintance is mutual.

Details
Problem: COM-B2-M06-P007
Difficulty: Level 3 of 5
Tag: Graph Theory
Grade: Grade 9, Grade 10
#6.8
#6.8

The Exact Value of \(R(3,3)\)

Construction Grade 9 Grade 10 ★★★☆☆

Using the upper bound for \(K_6\) and a colouring of \(K_5\), prove that \(R(3,3)=6\).

Details
Problem: COM-B2-M06-P008
Difficulty: Level 3 of 5
Tag: Construction
Grade: Grade 9, Grade 10
#6.9
#6.9

If There Are No Triangles

Ramsey Grade 9 Grade 10 ★★★☆☆

The edges of \(K_n\) are coloured red and blue, and there are no monochromatic triangles. Prove that \(n\le5\).

Details
Problem: COM-B2-M06-P009
Difficulty: Level 3 of 5
Tag: Ramsey
Grade: Grade 9, Grade 10
#6.10
#6.10

A Large Monochromatic Star

Pigeonhole principle Grade 9 Grade 10 ★★★☆☆

In the complete graph \(K_{2m}\), the edges are coloured red and blue. Prove that there is a vertex from which at least \(m\) edges of one colour leave.

Details
Problem: COM-B2-M06-P010
Difficulty: Level 3 of 5
Tag: Pigeonhole principle
Grade: Grade 9, Grade 10
#6.11
#6.11

The Value of \(R(2,t)\)

Ramsey Grade 9 Grade 10 ★★★☆☆

Prove that \(R(2,t)=t\) for every \(t\ge2\).

Details
Problem: COM-B2-M06-P011
Difficulty: Level 3 of 5
Tag: Ramsey
Grade: Grade 9, Grade 10
#6.12
#6.12

Seven People and an Extra Vertex

Ramsey Grade 9 Grade 10 ★★★☆☆

Prove that among any \(7\) people there are either \(3\) pairwise acquainted people or \(3\) pairwise unacquainted people. Explain why \(7\) is not the exact threshold.

Details
Problem: COM-B2-M06-P012
Difficulty: Level 3 of 5
Tag: Ramsey
Grade: Grade 9, Grade 10
#6.13
#6.13

Ramsey Recursion

Recursion Grade 9 Grade 10 ★★★★☆

Prove the inequality \(R(s,t)\le R(s-1,t)+R(s,t-1)\) for \(s,t\ge3\).

Details
Problem: COM-B2-M06-P013
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 9, Grade 10
#6.14
#6.14

Ten People

Recursion Grade 9 Grade 10 ★★★★☆

Prove that among any \(10\) people there are either \(3\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Details
Problem: COM-B2-M06-P014
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 9, Grade 10
#6.15
#6.15

A Bound for \(R(4,4)\)

Recursion Grade 10 ★★★★☆

Using \(R(3,4)\le10\), prove that \(R(4,4)\le20\).

Details
Problem: COM-B2-M06-P015
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 10
#6.16
#6.16

Twenty People

Recursion Grade 10 ★★★★☆

Prove that among any \(20\) people there are either \(4\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Details
Problem: COM-B2-M06-P016
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 10
#6.17
#6.17

One Colour Is Connected

Graph Theory Grade 10 ★★★★☆

The edges of the complete graph \(K_n\) are coloured red and blue. Prove that either the red graph or the blue graph is connected.

Details
Problem: COM-B2-M06-P017
Difficulty: Level 4 of 5
Tag: Graph Theory
Grade: Grade 10
#6.18
#6.18

The Sharp Bound \(R(3,4)\le9\)

Ramsey Grade 10 Grade 11 ★★★★★

Prove that among any \(9\) people there are either \(3\) pairwise acquainted people or \(4\) pairwise unacquainted people.

Details
Problem: COM-B2-M06-P018
Difficulty: Level 5 of 5
Tag: Ramsey
Grade: Grade 10, Grade 11
#6.19
#6.19

Three Colours on \(17\) Vertices

Pigeonhole principle Grade 10 Grade 11 ★★★★★

The edges of the complete graph \(K_{17}\) are coloured in three colours. Prove that there exists a monochromatic triangle.

Details
Problem: COM-B2-M06-P019
Difficulty: Level 5 of 5
Tag: Pigeonhole principle
Grade: Grade 10, Grade 11
#6.20
#6.20

A Monochromatic Spanning Tree

Graph Theory Grade 10 Grade 11 ★★★★★

The edges of the complete graph \(K_n\) are coloured red and blue. Prove that there exists a monochromatic spanning tree, that is, a tree of one colour passing through all \(n\) vertices.

Details
Problem: COM-B2-M06-P020
Difficulty: Level 5 of 5
Tag: Graph Theory
Grade: Grade 10, Grade 11

#7 Graphs II

Open Chapter Practice
#7.1
#7.1

Sum of Degrees

Graph Theory Grade 8 Grade 9 ★★☆☆☆

A graph has \(m\) edges. Prove that the sum of all vertex degrees is \(2m\).

Details
Problem: COM-B2-M07-P001
Difficulty: Level 2 of 5
Tag: Graph Theory
Grade: Grade 8, Grade 9
#7.2
#7.2

Odd Degrees

Parity Grade 8 Grade 9 ★★☆☆☆

Prove that in every finite graph, the number of vertices of odd degree is even.

Details
Problem: COM-B2-M07-P002
Difficulty: Level 2 of 5
Tag: Parity
Grade: Grade 8, Grade 9
#7.3
#7.3

A Leaf in a Tree

Graph Theory Grade 8 Grade 9 ★★☆☆☆

Prove that every tree with at least two vertices has at least two leaves.

Details
Problem: COM-B2-M07-P003
Difficulty: Level 2 of 5
Tag: Graph Theory
Grade: Grade 8, Grade 9
#7.4
#7.4

Minimum Edges for Connectedness

Tree Grade 8 Grade 9 ★★☆☆☆

Prove that a connected graph on \(n\) vertices has at least \(n-1\) edges.

Details
Problem: COM-B2-M07-P004
Difficulty: Level 2 of 5
Tag: Tree
Grade: Grade 8, Grade 9
#7.5
#7.5

An Added Edge

Cycles Grade 8 Grade 9 ★★☆☆☆

One edge is added to a tree between two existing vertices. Prove that exactly one cycle appears.

Details
Problem: COM-B2-M07-P005
Difficulty: Level 2 of 5
Tag: Cycles
Grade: Grade 8, Grade 9
#7.6
#7.6

Edges in a Forest

Graph Theory Grade 9 Grade 10 ★★★☆☆

A forest has \(n\) vertices and \(c\) connected components. Prove that it has \(n-c\) edges.

Details
Problem: COM-B2-M07-P006
Difficulty: Level 3 of 5
Tag: Graph Theory
Grade: Grade 9, Grade 10
#7.7
#7.7

Removing an Edge of a Cycle

Cycles Grade 9 Grade 10 ★★★☆☆

Prove that if one removes an edge lying on a cycle from a connected graph, the graph remains connected.

Details
Problem: COM-B2-M07-P007
Difficulty: Level 3 of 5
Tag: Cycles
Grade: Grade 9, Grade 10
#7.8
#7.8

Connected Graph with \(n-1\) Edges

Cycles Grade 9 Grade 10 ★★★☆☆

A connected graph has \(n\) vertices and \(n-1\) edges. Prove that it is a tree.

Details
Problem: COM-B2-M07-P008
Difficulty: Level 3 of 5
Tag: Cycles
Grade: Grade 9, Grade 10
#7.9
#7.9

Exactly One Cycle

Cycles Grade 9 Grade 10 ★★★☆☆

A connected graph on \(n\) vertices has \(n\) edges. Prove that it contains exactly one cycle.

Details
Problem: COM-B2-M07-P009
Difficulty: Level 3 of 5
Tag: Cycles
Grade: Grade 9, Grade 10
#7.10
#7.10

Bipartite Graphs Have No Odd Cycles

Coloring Grade 9 Grade 10 ★★★☆☆

Prove that a bipartite graph contains no cycle of odd length.

Details
Problem: COM-B2-M07-P010
Difficulty: Level 3 of 5
Tag: Coloring
Grade: Grade 9, Grade 10
#7.11
#7.11

Colouring by Distance

Coloring Grade 9 Grade 10 ★★★☆☆

Let a connected graph contain no odd cycles. Choose a vertex \(v\). Prove that colouring vertices by the parity of their distance from \(v\) gives a bipartition.

Details
Problem: COM-B2-M07-P011
Difficulty: Level 3 of 5
Tag: Coloring
Grade: Grade 9, Grade 10
#7.12
#7.12

Necessary Condition for an Euler Trail

Degree Counting Grade 9 Grade 10 ★★★☆☆

A connected graph has a trail using every edge exactly once. Prove that the number of vertices of odd degree is \(0\) or \(2\).

Details
Problem: COM-B2-M07-P012
Difficulty: Level 3 of 5
Tag: Degree Counting
Grade: Grade 9, Grade 10
#7.13
#7.13

Tree with a Perfect Matching

Tree Grade 9 Grade 10 ★★★★☆

A tree has a perfect matching. Prove that the neighbour of every leaf is matched to that leaf in this matching.

Details
Problem: COM-B2-M07-P013
Difficulty: Level 4 of 5
Tag: Tree
Grade: Grade 9, Grade 10
#7.14
#7.14

Maximal Matching and Edge Covering

Graph Theory Grade 9 Grade 10 ★★★★☆

A matching maximal by inclusion is chosen in a graph. Prove that the set of all endpoints of chosen edges intersects every edge of the graph.

Details
Problem: COM-B2-M07-P014
Difficulty: Level 4 of 5
Tag: Graph Theory
Grade: Grade 9, Grade 10
#7.15
#7.15

Regular Bipartite Graph

Bipartite graphs Grade 10 ★★★★☆

In a bipartite graph with parts \(A\) and \(B\), every vertex has degree \(d>0\). Prove that \(|A|=|B|\).

Details
Problem: COM-B2-M07-P015
Difficulty: Level 4 of 5
Tag: Bipartite graphs
Grade: Grade 10
#7.16
#7.16

Euler Circuit: Sufficiency

Graph Theory Grade 10 ★★★★☆

Prove that if a finite connected graph has only even degrees, then it has a closed walk using every edge exactly once.

Details
Problem: COM-B2-M07-P016
Difficulty: Level 4 of 5
Tag: Graph Theory
Grade: Grade 10
#7.17
#7.17

Planar Bound

Planar Graph Grade 10 ★★★★☆

A simple connected planar graph has \(n\ge3\) vertices and \(m\) edges. Prove that \(m\le3n-6\).

Details
Problem: COM-B2-M07-P017
Difficulty: Level 4 of 5
Tag: Planar Graph
Grade: Grade 10
#7.18
#7.18

Criterion for an Euler Trail

Graph Theory Grade 10 Grade 11 ★★★★★

Prove that a connected graph has a trail using every edge exactly once if and only if the number of vertices of odd degree is \(0\) or \(2\).

Details
Problem: COM-B2-M07-P018
Difficulty: Level 5 of 5
Tag: Graph Theory
Grade: Grade 10, Grade 11
#7.19
#7.19

Planar Bipartite Graph

Bipartite graphs Grade 10 Grade 11 ★★★★★

A simple connected planar bipartite graph has \(n\ge3\) vertices and \(m\) edges. Prove that \(m\le2n-4\).

Details
Problem: COM-B2-M07-P019
Difficulty: Level 5 of 5
Tag: Bipartite graphs
Grade: Grade 10, Grade 11
#7.20
#7.20

Large Independent Set in a Tree

Bipartite graphs Grade 10 Grade 11 ★★★★★

Prove that every tree on \(n\) vertices has an independent set of size at least \(\lceil n/2\rceil\).

Details
Problem: COM-B2-M07-P020
Difficulty: Level 5 of 5
Tag: Bipartite graphs
Grade: Grade 10, Grade 11

#8 Matching and Hall's Theorem Intro

Open Chapter Practice
#8.1
#8.1

A Star and a Matching

Graph Theory Grade 8 Grade 9 ★★☆☆☆

In the star \(K_{1,n}\), find the largest possible size of a matching.

Details
Problem: COM-B2-M08-P001
Difficulty: Level 2 of 5
Tag: Graph Theory
Grade: Grade 8, Grade 9
#8.2
#8.2

Cover the Left Part

Bipartite graphs Grade 8 Grade 9 ★★☆☆☆

In a bipartite graph, a matching covers all \(a\) vertices of the left part. Prove that the right part contains at least \(a\) vertices.

Details
Problem: COM-B2-M08-P002
Difficulty: Level 2 of 5
Tag: Bipartite graphs
Grade: Grade 8, Grade 9
#8.3
#8.3

Necessity of Hall

Matching Grade 8 Grade 9 ★★☆☆☆

Suppose a bipartite graph has a matching covering the whole left part \(A\). Prove that for every \(S\subseteq A\), \(|N(S)|\ge |S|\).

Details
Problem: COM-B2-M08-P003
Difficulty: Level 2 of 5
Tag: Matching
Grade: Grade 8, Grade 9
#8.4
#8.4

Two Identical Sets

Hall Grade 8 Grade 9 ★★☆☆☆

Let \(A_1=A_2=\{1,2\}\), \(A_3=\{2,3\}\). Find a system of distinct representatives.

Details
Problem: COM-B2-M08-P004
Difficulty: Level 2 of 5
Tag: Hall
Grade: Grade 8, Grade 9
#8.5
#8.5

Maximal by Inclusion

Matching Grade 8 Grade 9 ★★☆☆☆

In a graph, a matching is chosen so that no edge can be added to it. Prove that there is no edge between two uncovered vertices.

Details
Problem: COM-B2-M08-P005
Difficulty: Level 2 of 5
Tag: Matching
Grade: Grade 8, Grade 9
#8.6
#8.6

Three Clubs and Three Students

Hall Grade 9 Grade 10 ★★★☆☆

Three clubs have possible leaders \(A_1=\{a,b\}\), \(A_2=\{b,c\}\), \(A_3=\{a,c\}\). Prove that distinct leaders can be chosen for all clubs.

Details
Problem: COM-B2-M08-P006
Difficulty: Level 3 of 5
Tag: Hall
Grade: Grade 9, Grade 10
#8.7
#8.7

Large Left Degrees

Bipartite graphs Grade 9 Grade 10 ★★★☆☆

In a bipartite graph, every left vertex has degree at least \(3\), and every right vertex has degree at most \(3\). Prove that there is a matching covering the whole left part.

Details
Problem: COM-B2-M08-P007
Difficulty: Level 3 of 5
Tag: Bipartite graphs
Grade: Grade 9, Grade 10
#8.8
#8.8

Regular Bipartite Graph

Bipartite graphs Grade 9 Grade 10 ★★★☆☆

Prove that every \(d\)-regular bipartite graph with \(d>0\) has a matching covering the whole left part.

Details
Problem: COM-B2-M08-P008
Difficulty: Level 3 of 5
Tag: Bipartite graphs
Grade: Grade 9, Grade 10
#8.9
#8.9

Robust Choice

Hall Grade 9 Grade 10 ★★★☆☆

For a family of sets \(A_1,\ldots,A_n\), the union of any \(k\) of them contains at least \(k+1\) elements. Prove that after deleting any one element, an SDR can still be chosen.

Details
Problem: COM-B2-M08-P009
Difficulty: Level 3 of 5
Tag: Hall
Grade: Grade 9, Grade 10
#8.10
#8.10

Augmenting Path

Matching Grade 9 Grade 10 ★★★☆☆

Suppose with respect to a matching there is a path that starts and ends at uncovered vertices, and its edges alternate: unchosen, chosen, unchosen, and so on. Prove that the matching size can be increased by \(1\).

Details
Problem: COM-B2-M08-P010
Difficulty: Level 3 of 5
Tag: Matching
Grade: Grade 9, Grade 10
#8.11
#8.11

Intervals of Days

Hall Grade 9 Grade 10 ★★★☆☆

Each of \(n\) talks may be scheduled on certain allowed days. For any \(k\) talks, the union of their allowed days contains at least \(k\) days. Prove that all talks can be assigned distinct days.

Details
Problem: COM-B2-M08-P011
Difficulty: Level 3 of 5
Tag: Hall
Grade: Grade 9, Grade 10
#8.12
#8.12

Section Representatives

Hall Grade 9 Grade 10 ★★★☆☆

Each of \(n\) sections contains some students. Prove that one can choose a different representative from each section if and only if the union of any \(k\) sections contains at least \(k\) students.

Details
Problem: COM-B2-M08-P012
Difficulty: Level 3 of 5
Tag: Hall
Grade: Grade 9, Grade 10
#8.13
#8.13

After Deleting a Vertex

Matching Grade 10 ★★★★☆

In a bipartite graph with left part \(A\), \(|N(S)|\ge |S|+2\) for every nonempty \(S\subseteq A\). Prove that after deleting any two vertices of the right part, there is still a matching covering \(A\).

Details
Problem: COM-B2-M08-P013
Difficulty: Level 4 of 5
Tag: Matching
Grade: Grade 10
#8.14
#8.14

Unequal Degree Bounds

Bipartite graphs Grade 10 ★★★★☆

In a bipartite graph, every left vertex has degree at least \(5\), and every right vertex has degree at most \(4\). Prove that there is a matching covering the left part.

Details
Problem: COM-B2-M08-P014
Difficulty: Level 4 of 5
Tag: Bipartite graphs
Grade: Grade 10
#8.15
#8.15

Perfect Matching in a Regular Graph

Bipartite graphs Grade 10 ★★★★☆

Prove that every \(d\)-regular bipartite graph with \(d>0\) has a perfect matching.

Details
Problem: COM-B2-M08-P015
Difficulty: Level 4 of 5
Tag: Bipartite graphs
Grade: Grade 10
#8.16
#8.16

Forbidden Days

Casework Grade 10 ★★★★☆

There are \(n\) exams and \(n\) days. Each exam is forbidden on at most one day, and each day is forbidden for at most one exam. Prove that the exams can be assigned to distinct days respecting the restrictions.

Details
Problem: COM-B2-M08-P016
Difficulty: Level 4 of 5
Tag: Casework
Grade: Grade 10
#8.17
#8.17

Maximum and Augmenting Path

Matching Grade 10 ★★★★☆

Prove: if there exists an augmenting path with respect to a matching, then the matching is not maximum in size.

Details
Problem: COM-B2-M08-P017
Difficulty: Level 4 of 5
Tag: Matching
Grade: Grade 10
#8.18
#8.18

Criterion for a Maximum Matching

Matching Grade 10 Grade 11 ★★★★★

Prove that a matching is maximum in size if and only if there is no augmenting path with respect to it.

Details
Problem: COM-B2-M08-P018
Difficulty: Level 5 of 5
Tag: Matching
Grade: Grade 10, Grade 11
#8.19
#8.19

Decomposition into Perfect Matchings

Bipartite graphs Grade 10 Grade 11 ★★★★★

Prove that the edges of every \(d\)-regular bipartite graph can be decomposed into \(d\) perfect matchings.

Details
Problem: COM-B2-M08-P019
Difficulty: Level 5 of 5
Tag: Bipartite graphs
Grade: Grade 10, Grade 11
#8.20
#8.20

Large Sets

Degree Counting Grade 10 Grade 11 ★★★★★

There is a family of finite sets \(A_1,\ldots,A_n\). Each element belongs to at most \(r\) sets, and each set has size at least \(r\). Prove that the family has a system of distinct representatives.

Details
Problem: COM-B2-M08-P020
Difficulty: Level 5 of 5
Tag: Degree Counting
Grade: Grade 10, Grade 11

#9 Generating Functions I

Open Chapter Practice
#9.1
#9.1

Coefficient and Subset Choice

Binomial Coefficients Grade 8 Grade 9 ★★☆☆☆

Find the coefficient of \(x^4\) in \((1+x)^9\), and explain what combinatorial quantity it counts.

Details
Problem: COM-B2-M09-P001
Difficulty: Level 2 of 5
Tag: Binomial Coefficients
Grade: Grade 8, Grade 9
#9.2
#9.2

Three Unrestricted Variables

Counting Grade 8 Grade 9 ★★☆☆☆

How many triples of nonnegative integers \((a,b,c)\) satisfy \(a+b+c=14\)? Solve the problem using a generating function.

Details
Problem: COM-B2-M09-P002
Difficulty: Level 2 of 5
Tag: Counting
Grade: Grade 8, Grade 9
#9.3
#9.3

Bounded Triples

Inclusion-exclusion Grade 8 Grade 9 ★★☆☆☆

Find the number of triples \((a,b,c)\) such that \(a+b+c=9\) and \(0\le a,b,c\le 4\).

Details
Problem: COM-B2-M09-P003
Difficulty: Level 2 of 5
Tag: Inclusion-exclusion
Grade: Grade 8, Grade 9
#9.4
#9.4

Sum of Chosen Numbers

Generating Functions Grade 8 Grade 9 ★★☆☆☆

How many subsets of \(\{1,2,3,4,5,6,7\}\) have sum of elements equal to \(8\)?

Details
Problem: COM-B2-M09-P004
Difficulty: Level 2 of 5
Tag: Generating Functions
Grade: Grade 8, Grade 9
#9.5
#9.5

Vandermonde's Identity

Binomial Coefficients Grade 9 Grade 10 ★★☆☆☆

Prove using generating functions that for nonnegative integers \(r,s,n\),

\[\sum_{k=0}^{n}\binom{r}{k}\binom{s}{n-k}=\binom{r+s}{n}.\]

Details
Problem: COM-B2-M09-P005
Difficulty: Level 2 of 5
Tag: Binomial Coefficients
Grade: Grade 9, Grade 10
#9.6
#9.6

Even Summands

Parity Grade 9 Grade 10 ★★★☆☆

How many quadruples of nonnegative even integers \((a,b,c,d)\) satisfy \(a+b+c+d=18\)?

Details
Problem: COM-B2-M09-P006
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#9.7
#9.7

Strings with an Even Number of Ones

Parity Grade 9 Grade 10 ★★★☆☆

Prove that for \(n\ge 1\), the number of binary strings of length \(n\) with an even number of ones is \(2^{n-1}\).

Details
Problem: COM-B2-M09-P007
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#9.8
#9.8

Compositions Using Ones and Twos

Recursion Grade 9 Grade 10 ★★★☆☆

Let \(c_n\) be the number of ordered representations of \(n\) as a sum of parts \(1\) and \(2\). Find the generating function \(C(x)=\sum_{n\ge 0}c_nx^n\) and express \(c_n\) using Fibonacci numbers.

Details
Problem: COM-B2-M09-P008
Difficulty: Level 3 of 5
Tag: Recursion
Grade: Grade 9, Grade 10
#9.9
#9.9

Five Boxes with an Upper Bound

Inclusion-exclusion Grade 9 Grade 10 ★★★☆☆

In how many ways can \(20\) identical tokens be distributed among \(5\) boxes if each box may contain at most \(6\) tokens?

Details
Problem: COM-B2-M09-P009
Difficulty: Level 3 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10
#9.10
#9.10

Coefficient of a Rational Function

Counting Grade 9 Grade 10 ★★★☆☆

Find the coefficient of \(x^{10}\) in \(\frac{1}{(1-x)^2(1-x^3)}\).

Details
Problem: COM-B2-M09-P010
Difficulty: Level 3 of 5
Tag: Counting
Grade: Grade 9, Grade 10
#9.11
#9.11

Distinct Parts of 11

Partitions Grade 9 Grade 10 ★★★☆☆

Find the number of partitions of \(11\) into distinct positive parts.

Details
Problem: COM-B2-M09-P011
Difficulty: Level 3 of 5
Tag: Partitions
Grade: Grade 9, Grade 10
#9.12
#9.12

Symmetry of Coefficients

Generating Functions Grade 9 Grade 10 ★★★☆☆

Let \(c_k\) be the coefficient of \(x^k\) in \((1+x+\cdots+x^m)^n\). Prove that \(c_k=c_{mn-k}\).

Details
Problem: COM-B2-M09-P012
Difficulty: Level 3 of 5
Tag: Generating Functions
Grade: Grade 9, Grade 10
#9.13
#9.13

Six Bounded Summands

Inclusion-exclusion Grade 9 Grade 10 Grade 11 ★★★★☆

Find the number of integer solutions to \(a_1+\cdots+a_6=24\), where \(1\le a_i\le 7\) for all \(i\).

Details
Problem: COM-B2-M09-P013
Difficulty: Level 4 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10, Grade 11
#9.14
#9.14

Central Bounded Coefficient

Generating Functions Grade 9 Grade 10 Grade 11 ★★★★☆

Find the coefficient of \(x^{12}\) in \((1+x+x^2+x^3)^8\).

Details
Problem: COM-B2-M09-P014
Difficulty: Level 4 of 5
Tag: Generating Functions
Grade: Grade 9, Grade 10, Grade 11
#9.15
#9.15

Choosing Without Neighbours

Generating Functions Grade 9 Grade 10 Grade 11 ★★★★☆

Prove that the number of ways to choose \(k\) numbers from \(\{1,2,\ldots,n\}\) with no two chosen numbers consecutive is \(\binom{n-k+1}{k}\).

Details
Problem: COM-B2-M09-P015
Difficulty: Level 4 of 5
Tag: Generating Functions
Grade: Grade 9, Grade 10, Grade 11
#9.16
#9.16

Exactly k Dominoes

Recursion Grade 9 Grade 10 Grade 11 ★★★★☆

A \(1\times n\) strip is tiled by \(1\times 1\) squares and \(1\times 2\) dominoes. Prove that the number of tilings with exactly \(k\) dominoes is \(\binom{n-k}{k}\).

Details
Problem: COM-B2-M09-P016
Difficulty: Level 4 of 5
Tag: Recursion
Grade: Grade 9, Grade 10, Grade 11
#9.17
#9.17

Distinct Parts and Odd Parts

Partitions Grade 10 Grade 11 ★★★★☆

Prove that for every \(n\), the number of partitions of \(n\) into distinct parts equals the number of partitions of \(n\) into odd parts.

Details
Problem: COM-B2-M09-P017
Difficulty: Level 4 of 5
Tag: Partitions
Grade: Grade 10, Grade 11
#9.18
#9.18

A Sum with a Parity Condition

Parity Grade 10 Grade 11 ★★★★★

Find the number of 8-tuples \((x_1,\ldots,x_8)\) such that \(0\le x_i\le 5\), \(x_1+\cdots+x_8=30\), and \(x_1+x_2+x_3\) is even.

Details
Problem: COM-B2-M09-P018
Difficulty: Level 5 of 5
Tag: Parity
Grade: Grade 10, Grade 11
#9.19
#9.19

Subset Sum Modulo 3

Generating Functions Grade 10 Grade 11 ★★★★★

Let \(m\ge 1\). Prove that the number of subsets of \(\{1,2,\ldots,3m\}\) whose sum of elements is divisible by \(3\) equals

\[\frac{2^{3m}+2^{m+1}}{3}.\]

Details
Problem: COM-B2-M09-P019
Difficulty: Level 5 of 5
Tag: Generating Functions
Grade: Grade 10, Grade 11
#9.20
#9.20

Binary Weights with Carries

Generating Functions Grade 10 Grade 11 ★★★★★

Let \(m\ge 1\). There are weights \(2^0,2^1,\ldots,2^{m-1}\), and each weight may be taken \(0\), \(1\), \(2\), or \(3\) times. In how many ways can one obtain total weight \(2^m-1\)?

Details
Problem: COM-B2-M09-P020
Difficulty: Level 5 of 5
Tag: Generating Functions
Grade: Grade 10, Grade 11
Source: Method inspiration: local combinatorics source