Project Euler 285 - Pythagorean odds

Official link: https://projecteuler.net/problem=285