-- Find the square of all 3 numbers.
-- if the biggest square is equal to the sum of the other two squares, then the original three numbers are a Pythagorean triple.
If you draw a triangle and use those numbers for the lengths of the sides, then the triangle has a right angle (90 degrees) in it.