Pythagorean Triples Decoded