Let , where is an integer.

Let us now calculate the discriminant of this quadratic equation in .

In order for to be an integer, we need to be a perfect square.

The only Pythagorean triple that has 5 as one of the smaller values is 5, 12, 13.

So,