Problem

Source: II International Festival of Young Mathematicians Sozopol 2011, Theme for 10-12 grade

Tags: geometry, Heron's formula



The lengths of the sides of a triangle are integers, whereas the radius of its circumscribed circle is a prime number. Prove that the triangle is right-angled.