Which set of numbers can represent the side lengths, in centimeters, of a right triangle?

8, 12, 15
10, 24, 26
12, 20, 25
15, 18, 20

2 answers

If the sides are a,b,c with c the longest, then you need
a^2 + b^2 = c^2

You can save yourself some calculation by learning a few of the basic Pythagorean triples, such as
3-4-5, 5-12-13, 8-15-17, 7-24-25
and their multiples.
clearly, if it is right-angled, the largest number would be the hypotenuse
So, simply check if the square of the largest is equal to the sum of the squares of the other two.

e.g. for 15, 18, 20
is 20^2 = 15^2 + 18^2
is 400 = 225 + 324
is 400 = 549
guess not!

do that to the others