The equation a
2 + b
2 + c
2 = d
2 has an infinite number of solutions in positive integers, however, if we restrict a and b to ≤ 3600 then there are only a finite set of solutions.
Find the values a ≤ b ≤ 3600 which give the largest number of solutions.