Maths Olympiad Prep

Library / /5 of 9

Combinatorics Difficulty 8.0 Shortlist Prove it Singapore

Let nn be an integer 2\ge 2. Let SS be a set of triples of nonnegative integers (a,b,c)(a, b, c) such that a+b+c=na + b + c = n and if (a,b,c)(a, b, c) and (a,b,c)(a', b', c') are distinct triples in SS, then aaa \ne a', bbb \ne b' and ccc \ne c'. Find the maximum value of S|S|.

Solution

Suppose S=s|S| = s. Then (a,b,c)Sai=0s1i=s(s1)2\sum_{(a, b, c) \in S} a \ge \sum_{i=0}^{s-1} i = \frac{s(s-1)}{2}. Likewise Sbs(s1)2\sum_S b \ge \frac{s(s-1)}{2} and Scs(s1)2\sum_S c \ge \frac{s(s-1)}{2}. Therefore
3s(s1)2Sa+b+c=nss2n3+1. \frac{3s(s-1)}{2} \le \sum_{S} a + b + c = ns \Rightarrow s \le \left\lfloor \frac{2n}{3} \right\rfloor + 1.
The following shows the bound can be attained.

n = 3k - 1n = 3kn = 3k + 1
aabbccaabbccaabbcc
0k+1k + 12k22k - 20kk2k2k0kk2k+12k + 1
1k+2k + 22k42k - 41k+1k + 12k22k - 21k+1k + 12k12k - 1
...........................
k1k - 12k2k0kk2k2k0kk2k2k1
kk02k12k - 1k+1k + 102k12k - 1k+1k + 102k2k
k+1k + 112k32k - 3k+2k + 212k32k - 3k+2k + 212k22k - 2
...........................
2k12k - 1k1k - 112k2kk1k - 112k2kk1k - 12

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.