Maths Olympiad Prep

Library / /4 of 7

Combinatorics Difficulty 6.2 National Olympiad Prove it Switzerland

Problem:

For a positive integer mm, we denote by [m][m] the set {1,2,,m}\{1,2, \ldots, m\}. Let nn be a positive integer and let S\mathcal{S} be a non-empty collection of subsets of [n][n]. A function f:[n][n+1]f:[n] \rightarrow [n+1] is called kawaii if there exists ASA \in \mathcal{S} such that for all BSB \in \mathcal{S} with ABA \neq B we have
aAf(a)>bBf(b) \sum_{a \in A} f(a) > \sum_{b \in B} f(b)
Prove that there are always at least nnn^{n} kawaii functions, irrespective of S\mathcal{S}.

Solution

Solution:

We will prove there is an injection from functions f:[n][n]f:[n] \rightarrow [n] and kawaii functions.

Let ff be an arbitrary function in the latter set. Let SS be any set in S\mathcal{S} whose sum of images is larger or equal to all other sums of images over sets in S\mathcal{S}. Now, add 11 to the image of every element of SS. You now obtain a function that is forcibly kawaii, irrespective of whether ff was kawaii. Furthermore, this function is clearly invertible from the image back to the domain and therefore an injection.

Note that several equivalent approaches are possible, for example considering functions whose images are 2,,n+12, \ldots, n+1 and then taking away 11 from the images of elements not in a maximal set.

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.