Maths Olympiad Prep

Track / Stage 6 / 236 of 400 #1236 of 1964

Problem 1236

National olympiad, first round
Combinatorics Difficulty 6.4 Find the answer

A quadruple (a,b,c,d)(a,b,c,d) of distinct integers is said to be balancedbalanced if a+c=b+da+c=b+d. Let S\mathcal{S} be any set of quadruples (a,b,c,d)(a,b,c,d) where 1a<b<d<c201 \leqslant a<b<d<c \leqslant 20 and where the cardinality of S\mathcal{S} is 44114411. Find the least number of balanced quadruples in S.\mathcal{S}.

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

Official solution

1. Understanding the problem: We need to find the least number of balanced quadruples (a,b,c,d)(a, b, c, d) in a set S\mathcal{S} where 1a<b<d<c201 \leq a < b < d < c \leq 20 and the cardinality of S\mathcal{S} is 4411. A quadruple (a,b,c,d)(a, b, c, d) is balanced if a+c=b+da + c = b + d.

2. Total number of quadruples: First, we calculate the total number of quadruples (a,b,c,d)(a, b, c, d) where 1a<b<d<c201 \leq a < b < d < c \leq 20. This is given by the binomial coefficient:
(204)=20×19×18×174×3×2×1=4845 \binom{20}{4} = \frac{20 \times 19 \times 18 \times 17}{4 \times 3 \times 2 \times 1} = 4845

3. Number of unbalanced quadruples: Since the cardinality of S\mathcal{S} is 4411, the number of unbalanced quadruples is:
48454411=434 4845 - 4411 = 434

4. Balanced quadruples: We need to find the least number of balanced quadruples. We start by calculating the possible values of a+ca + c. The minimum value of a+ca + c is 1+4=51 + 4 = 5 (since a<b<d<ca < b < d < c) and the maximum value is 17+20=3717 + 20 = 37.

5. **Counting balanced quadruples for each a+ca + c**:
- For a+c=ka + c = k, we need to count the number of ways to choose aa and cc such that a<ca < c and a+c=ka + c = k.
- For k=5k = 5, the only possibility is (1,4)(1, 4).
- For k=6k = 6, the possibilities are (1,5)(1, 5) and (2,4)(2, 4).
- For k=7k = 7, the possibilities are (1,6)(1, 6), (2,5)(2, 5), and (3,4)(3, 4).
- This pattern continues until k=20k = 20, where the possibilities are (10,10)(10, 10).

6. Summing the number of balanced quadruples:
- For k=5k = 5 to k=20k = 20, the number of pairs (a,c)(a, c) is given by (k12)\binom{k-1}{2}.
- For k=21k = 21, the number of pairs (a,c)(a, c) is (92)\binom{9}{2}.
- For k=22k = 22 to k=37k = 37, the number of pairs (a,c)(a, c) is symmetric to the pairs for k=5k = 5 to k=20k = 20.

7. Calculating the total number of balanced quadruples:
2((22)+(32)++(92))+(102)=2(1+3+6+10+15+21+28+36)+45=2120+45=285 2 \cdot \left(\binom{2}{2} + \binom{3}{2} + \cdots + \binom{9}{2}\right) + \binom{10}{2} = 2 \cdot \left(1 + 3 + 6 + 10 + 15 + 21 + 28 + 36\right) + 45 = 2 \cdot 120 + 45 = 285
- For a+c=21a + c = 21, we have (92)=36\binom{9}{2} = 36.

8. Total balanced quadruples:
285+36=321 285 + 36 = 321

9. Least number of balanced quadruples:
- Since we have 434 unbalanced quadruples, the least number of balanced quadruples is:
525434=91 525 - 434 = 91

The final answer is 91\boxed{91}

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