Generating Pythagorean Triples From One Leg

377 Views Asked by At

The question is simple: Find the longest possible hypotenuse in a right triangle with integer sides where the shortest side has length T. What I am asking is if there are any means to approach this besides testing pythagorean triples by brute force.

1

There are 1 best solutions below

0
On

Hint: If the given side is $T$, there will exist an $n$ such that $(n+1)^2-n^2=2n+1>T^2$.