Maths Olympiad Prep

Library / HMMT November /438 of 672

HMMT November

Combinatorics Difficulty 5.1 AIME, harder Find the answer

Consider the set of 5-tuples of positive integers at most 5. We say the tuple (a1,a2,a3,a4,a5)\left(a_{1}, a_{2}, a_{3}, a_{4}, a_{5}\right) is perfect if for any distinct indices i,j,ki, j, k, the three numbers ai,aj,aka_{i}, a_{j}, a_{k} do not form an arithmetic progression (in any order). Find the number of perfect 5-tuples.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

There are two situations. 1. The multiset is aabbc; the only condition here is c≠12(a+b)c \neq \frac{1}{2}(a+b), for ((53)−∣S∣)⋅(31)=18\left(\binom{5}{3}-|S|\right) \cdot\binom{3}{1}=18 such triples, where SS is the set of unordered triples (a,b,c)(a, b, c) which do not satisfy the condition, and S={(1,2,3),(2,3,4),(3,4,5),(1,3,5)}S=\{(1,2,3),(2,3,4),(3,4,5),(1,3,5)\}. Each one gives 5!2!2!=30\frac{5!}{2!2!}=30 orderings, so 18⋅30=54018 \cdot 30=540 in this case. 2. There are four distinct elements in the tuple. Then, the elements must be {1,2,4,5}\{1,2,4,5\}. All of them work, for an additional 4⋅60=2404 \cdot 60=240. Therefore, there are 540+240=780540+240=780 such tuples.

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

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.