Pythagorean Theorem:
To test the triples, we make the largest side "c" and take the other 2 sides to be "a" and "b" and check in the formula. Let's do this:
8, 15, 17
Checking:
They are equal. Thus, triple.
6, 8, 12
Checking:
This is not equal, thus NOT a pythagorean triple.
We don't have to check more, as we already found one answer.