Changes

Line 22: Line 22:  
3 3
 
3 3
   −
To find all Pythagorean Triplets between 1..10, do:
+
To find all [https://en.wikipedia.org/wiki/Pythagorean_triple Pythagorean Triplets] between 1..10, do:
    
[1..10,1..10].cartesianproduct().filter(r=>ISINTEGER(SQRT(SUMSQ(r))))
 
[1..10,1..10].cartesianproduct().filter(r=>ISINTEGER(SQRT(SUMSQ(r))))
2,824

edits