Combinatorics Black Soln
Combinatorics Black Soln
Po-Shen Loh
June 2013
1 Definitions
• An r-set is a set of size r.
• The set {1, 2, . . . , n} is often denoted [n].
• Given a set S, its power set 2S is the collection of all subsets of S.
• A hypergraph is a set of vertices V , together with a collection E ⊂ 2V of subsets of V . The members
of E are called hyperedges, or just edges for short.
• An r-uniform hypergraph is a hypergraph in which all edges have are r-subsets of V . Note that a
2-uniform hypergraph is just a graph.
• If U ⊂ V , the sub-hypergraph H[U ] of H induced by U is the hypergraph with vertex set U , together
with all edges of the original H which were completely contained within U .
• An independent set in a hypergraph is a collection of vertices which induces no edges.
However, the total amount of work done by all people in Contest 1 was then exactly 7, and the total
amount of work done by all people in Contest 2 was exactly 6. So somebody must have done strictly
less work in Contest 2. That person saw
1 1
< ,
s0i si
i.e., the size of that person’s team on Contest 2 was strictly larger than her team size on Contest 1.
2. (Sauer-Shelah.) A family F shatters a set A if for every B ⊂ A, there is F ∈ F such that F ∩ A = B.
Prove that if F ⊂ 2[n] and |F| > n0 + · · · + nk , then there is a set A ⊂ [n] of size k + 1 such that F
shatters A.
Solution: Compressions: show that if a set family has no shattered subset of size t, then after
compressing, it still has no shattered subset of size t. To visualize this, a shattered subset S of size t is
specified by a collection of t elementary basis vectors in the hypercube, and the plane P determined by
the 2t vectors in their span. Now, consider the orthogonal complement of P , and imagine partitioning
1
the entire hypercube into |P | fibers, each of which is running orthogonally into P . The shattering
means that each of the fibers contains some point in the set family. Now a compression is a wind which
blows in one dimension. If the wind blows orthogonally to P , and S is shattered, then it is clear that
S was also shattered before. Also, if the wind blows parallel to P , and S is now shattered, then it
is also clear that S was shattered before. Therefore, we may assume that all compressions have been
completed, and now if a set is in the family, all of its subsets are as well. This forces there to be a set
of size k + 1.
3. (Erdős-Ko-Rado.) Let F be a collection of distinct r-subsets of [n], with the property that every pair
of subsets A, B ∈ F intersects. Prove that |F| ≤ n−1
r−1 whenever n ≥ 2r.
4. (Putnam 1956/A7.) Call an integer 0 ≤ r ≤ 1000 strange if the number of r-subsets of {1, . . . , 1000}
is odd. Prove that the number of strange integers is a power of 2. (To make this an AIME problem:
how many strange integers are there?)
Solution: Lucas’s theorem: it is going to be 2 raised to the power which is equal to the number of
1’s in the binary expansion of 1000.
5. (Turán.) Let G be an n-vertex graph with average degree d. Then it contains an independent set of
n
size at least d+1 , and this is tight.
6. Let F be a collection of r-subsets of [n], and let t = |F|/n. Then there is always a set S ⊂ [n] of size
1
at least n/(4t r−1 ), which does not completely contain any member of F.
7. (Diestel 2.20.) Let G be a graph, and let α be the size of its largest independent set. Prove that the
vertices of G can be covered by α disjoint subgraphs, each either a cycle, a K2 , or a K1 .
Solution: Take a longest path, and say that it ends at v. Make a cycle by taking the edge from v
back to its earliest neighbor along the path. Delete this cycle from the graph. Importantly, v is not
adjacent to any vertex in the rest of the graph! So, in the remainder, the independence number is at
most α − 1, and we may apply induction. Note that K2 arises when the longest path has only one
edge, in which case we can’t close a cycle, and K1 arises when the longest path is a single vertex.
8. (Folklore.) The chromatic number χ of a hypergraph H is the minimum integer k such that it is
possible to assign a color from [k] to each vertex of H, with no edge having all of its vertices in the
same color. (Assume that there are no edges of size 1.) Prove that if χ > 2, then H must have two
edges which intersect in exactly one vertex.
9. (L.) An r-tree is an r-uniform hypergraph created in the following way: starting with a single hyperedge
of size r, repeatedly add new hyperedges by selecting one existing vertex v, and adding r−1 new vertices,
together with a new hyperedge through v and the r − 1 new vertices. Let T be an arbitrary r-tree
with t edges. Observe that T will always have exactly 1 + (r − 1)t vertices. Prove that every r-uniform
hypergraph H with chromatic number χ > t must contain T as a sub-hypergraph.
10. Let G be a graph in which all vertices have nonzero degree. Prove that its vertices can be partitioned
into two sets V1 ∪ V2 such that the number of edges going between the Vi is at least m n
2 + 6 . Is this
tight?
Solution: Analyze the greedy partitioning algorithm, which puts each new vertex onto the side
which maximizes the number of crossing edges to already-placed vertices. Observe that we gain 21 per
vertex which had odd back-degree. But if we take a random ordering of the vertices, then the expected
number of vertices with odd back-degree is at least m/3, with sharpness on vertices of degree 2 (since
their back-degree is 0, 1, or 2).
11. (MOP 2007/7/1.) In a 100 × 100 array, each of the numbers 1, 2, . . . , 100 appears exactly 100 times.
Show that there is a row or a column in the array with at least 10 distinct numbers.
2
Solution: Let n = 100. ChooseP a random row or column (2n choices). Let X be the number of
distinct entries in it. Now X = Ii , where each Ii is the indicator variable of i appearing (possibly
more than once) in our random row or column. Clearly, each E [Ii ] = ≥ 1]. To lower-bound this,
√P [Ii √
observe that √the worst-case√is if all n appearances of i are in √ some n × n submatrix, which gives
P [Ii ≥ 1] ≥ 2 n/(2n) = 1/ n. Hence by linearity, E [X] ≥ n.
12. (Russia, 1999.) In a class, each boy is friends with at least one girl. Show that there exists a group
of at least half of the students, such that each boy in the group is friends with an odd number of the
girls in the group.
Solution: Choose girls independently with probability 1/2, and then let the set of boys be all of
those who have an odd number of friends in the girl group. Let X be the number of boys and girls
selected, and break this into the sum of indicators. For each girl, obviously the indicator adds 1/2 to
the sum. For each boy, the probability that he joins is precisely the probability that Bin [k, 1/2] is odd,
where k was the number of girls he knew. To see that this probability is 1/2, note that it is the parity
of the sum of k independent coin flips. In particular, the final flip independently flips or retains the
final parity, hence odd with probability 1/2.
13. (IMO Shortlist 1999/C4.) Let A be any set of n residues mod n2 . Show that there is a set B of n
residues mod n2 such that at least half of the residues mod n2 can be written as a + b with a ∈ A and
b ∈ B.
Solution: Make n independent uniformly random choices from the n2 residues, and collect them
into a set B. Note that since we use independence, this final set may have size < n. But if we still
have A + B occupying at least half of the residues, then this is okay (we could arbitrarily augment B
to have the full size n).
Let X be the number of residues achievable as a + b. For each potential residue i, there are exactly
n ways to choose some b for which A + b 3 i, since|A| = n. Therefore, the probability that a given
n
residue i appears in A + B is precisely 1 − 1 − nn2 . Then E [X] is exactly n2 times that, because
n
there are n2 total residues. Hence it suffices to show that 1 − 1 − nn2 ≥ 1/2. But this follows from
the bound 1 − n1 ≤ e−1/n , using e ≈ 2.718.
14. (Gallai, Hasse, Roy, Vitaver.) Let D be a directed graph, and let χ be the chromatic number of its
underlying undirected graph. Show that D has a directed path of at least χ vertices.
Solution: Take a maximal acyclic subgraph, and use it to define level sets, by coloring each vertex
by the length of the longest directed path that ends at that vertex.
15. (MOP 2010, harder variation.) Let G be a graph with average degree d. Prove that for every k ≤ d,
kn
there is a Kk+1 -free induced subgraph on at least d+1 vertices.
Solution: Randomly permute the vertices. Use the greedy algorithm, taking each vertex if it can be
added without making any Kk+1 . Observe that we will actually take every vertex v with the property
that the permutation induced on {v} ∪ N (v) has v in position 1 . . . k. (We might also take more.) This
is because v would only have degree at most k − 1 back to the previously selected guys, making at
most a Kk . Now the expected size of the selected set is at least
X k k
≥n· .
v
dv + 1 d+1
16. (Oddtown.) Let F be a collection of distinct subsets of 2[n] such that every A ∈ F has size which is
nonzero modulo 2, but every pair of distinct A, B ∈ F has intersection size which is zero modulo 2.
Prove that |F| ≤ n.
3
18. (Russia 2006, final problem.) A group of pioneers has arrived to summer camp. Each pioneer has at
least 50 and at most 100 friends among the others. Prove that one can distribute field caps of 1331
colors among the pioneers so that the friends of each pioneer have caps of at least 20 colors.
Solution: We prove a much stronger bound. Let C = 49 be the total number of colors, and give
each person an independent, uniformly random color. We will apply the Lovász Local Lemma. For
each vertex, let Bv be the event that N (v) receives 19 or fewer colors. We have:
50
C 19
P [Bv ] ≤ .
19 C
Now we build the dependency graph. Consider all vertices in N (v), together with those adjacent to
N (v). Connect each vertex to v in the dependency graph. It is clear that all other vertices do not need
to be connected to v. Hence the dependency is below 104 . We therefore have a solution when
50
C 19
e· · 104 < 1 ,
19 C
C eC 19
Note in particular that 19 ≤ 19 , so it suffices to have:
19 50
eC 19
e 104 < 1
19 C
e20 1931 104 < C 31
20 4
48.75 ≈ 19e 31 10 31 < C .