# Just apply Pythagoras Theorem

Geometry Level 3

If $$p$$, $$q$$, and $$r$$ are nonzero integers satisfying

$p^2+q^2 = r^2,$

compute the smallest possible value of $$(p+q+r)^2$$.

×