A right triangle with legs a and b and hypotenuse c, with blue, red and purple squares on its sides
A right triangle and squares on its sides · Michael Hardy, Wapcaplet, Steff and Leo2004; Wikimedia Commons · Source · CC BY-SA 3.0

The legendary school of Pythagoras laid the foundations of mathematical science.

Among other problems, its members looked for right triangles with integer side lengths. One method known at the time yields infinitely many triples of positive integers (a,b,c) satisfying a^2+b^2=c^2. It does not describe every such triple.

Following the Pythagoreans, can you work out whether a right triangle with integer side lengths can have a leg of 2025?

A hint, using a=25:
b=(625-1)/2=312.
c=(625+1)/2=313.

Notes

Answer: yes, such a triangle exists.

a=2025.
b=2050312.
c=2050313.

Historical note

In his commentary on Euclid’s Proposition I.47, Proclus describes a method for finding such triples that was attributed to Pythagoras.

a=m, where m is an odd positive integer greater than 1.
b=(m^2-1)/2.
c=(m^2+1)/2.