Skip to main content
OlympiadHQ

Browse · MathNet

Print

HongKong 2022-23 IMO Selection Tests

Hong Kong 2022 counting and probability

Problem

There are 50 rods of lengths . How many ways are there to pick three of these rods to form a triangle?
Solution
The answer is minus the number of choices of three rods that violate the triangle inequality. The number to be subtracted is the size of the set Note that for , is an even number between and (inclusive). For each such even number, we can easily count the number of such pairs , and for each such we can easily count the number of choices of for which .

As an example, if we fix , there would be choices for , namely, , , , and . For each of these pairs of , there are choices of for which , namely, . In the same way, we can see that for each even number where , there would be choices of for which , and for each such there would be choices of for which . This can be summarized by the following table:
Value of Value of No. of choices of No. of choices of
24
36
48
510
............
4896
4998
From the table, we see that and so the answer is
Final answer
9500

Techniques

Inclusion-exclusionTriangle inequalities