Anonymous user
Pythagorean quadruples: Difference between revisions
m
→{{header|REXX}}: elided a no longer relevant comment.
Catskill549 (talk | contribs) |
m (→{{header|REXX}}: elided a no longer relevant comment.) |
||
Line 1,682:
This version is a brute force algorithm, with some optimization (to save compute time)
<br>which pre-computes some of the squares of the positive integers used in the search.
<lang rexx>/*REXX pgm computes/shows (integers), D that aren't possible for: a² + b² + c² = d² */
parse arg hi . /*obtain optional argument from the CL.*/
|