The lengths of all sides of a right-angled triangle are positive integers. If the radius of its incircle is of length , find all possible lengths of its legs.
Solution
Let and be the lengths of legs, be the length of hypotenuse, and be the radius of the incircle in the given triangle.
Expressing its area in two different ways, we get
Since , it follows that . Considering that and are positive integers, we have , i.e. , hence both and must be divisors of .
Without loss of generality, we can assume , i.e. . Therefore, among
we find that satisfy the conditions of the problem.
Finally, these are all solutions:
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.