Maths Olympiad Prep

Library / /11 of 97

Combinatorics Difficulty 7.3 National olympiad, round 2 Find the answer

Fix positive integers k,nk,n. A candy vending machine has many different colours of candy, where there are 2n2n candies of each colour. A couple of kids each buys from the vending machine 22 candies of different colours. Given that for any k+1k+1 kids there are two kids who have at least one colour of candy in common, find the maximum number of kids.

A number or a short expression. Spacing and $ signs are ignored.

Solution

Fix positive integers k k and n n . Consider a candy vending machine that has many different colors of candy, with 2n 2n candies of each color. A couple of kids each buys from the vending machine 2 candies of different colors. We are to find the maximum number of kids such that for any k+1 k+1 kids, there are two kids who have at least one color of candy in common.

We can model this problem using graph theory. Let each kid be represented by a vertex, and draw an edge between two vertices if the corresponding kids share a color of candy. The problem then reduces to finding the maximum number of vertices in a graph such that any k+1 k+1 vertices have at least one edge connecting them.

This is equivalent to finding the maximum number of vertices in a graph where the largest independent set has size k k . By Turán's theorem, the maximum number of vertices in such a graph is given by the Turán number T(n,k+1) T(n, k+1) , which is the maximum number of edges in a k k -partite graph with n n vertices in each part.

The answer is n(3k) n(3k) .

Thus, the maximum number of kids is:
n(3k) \boxed{n(3k)}

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.