Problem

Source: 2024 Czech and Slovak Olympiad III A p6

Tags: geometry, congruent triangles



Find all right triangles with integer side lengths in which two congruent circles with prime radius can be inscribed such that they are externally tangent, both touch the hypotenuse, and each is tangent to another leg of the right triangle.