Pythagorean triangles with legs less than n

Pythagorean triangles with legs less than n