2 ms·
There is a paper by Josef Rukavicka called "Dickson's Method for Generating Pythagorean Triples Revisited"[1]. It is a very nice proof without words. Based on i
by pgtan 8y ago
There is a paper by Josef Rukavicka called "Dickson's Method for Generating Pythagorean Triples Revisited"[1]. It is a very nice proof without words. Based on it, the Project Euler solution was almost an oneliner in Prolog.
[1] https://www.ejpam.com/index.php/ejpam/article/view/1844 https://www.ejpam.com/index.php/ejpam/article/view/1844