Olympiad Maths Prep

Library / /18 of 21

Geometry Difficulty 6.0 National olympiad Prove it Ukraine

There are n3n \ge 3 segments, their lengths in centimeters are distinct positive integers. It's known that it's possible to form a nondegenerate triangle from any three of these nn segments. Suppose that among these segments there are segments with lengths 55 cm and 1212 cm. What's the largest value nn can attain?

Solution

Reorder the segments by their lengths, so that a1<a2<<ana_1 < a_2 < \dots < a_n. Clearly, any three segments form a triangle if and only if the sum of the lengths of the smallest two segments is larger than the length of the longest segment. So, the smallest segment except from the given two can't have a length smaller than 88, as in that case we wouldn't be able to form a triangle from segments 55, a7a \le 7 and 1212, as 5+7125 + 7 \le 12.

So, a1=5a_1 = 5 and a28a_2 \ge 8. Clearly, a212a_2 \le 12 and the number of segments can't exceed the number of elements of the set {5,a2,a2+1,a2+2,a2+3,a2+4}\{5, a_2, a_2 + 1, a_2 + 2, a_2 + 3, a_2 + 4\}, so n6n \le 6.

Note that the set of segments with lengths {5,8,9,10,11,12}\{5, 8, 9, 10, 11, 12\} satisfies the conditions. Therefore, the answer is n=6n = 6.

Looking for a route rather than 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 and solution reproduced as published; topic and difficulty added by this site.