Right triangles and Pythagorean triples