What is the smallest integer greater than 38 that cannot be the length of the hypotenuse of a right triangle with integer side lengths?
The answer is obviously 39, which is not the hypotenuse in any pythagorean triples.