Coprimes: Difference between revisions
Content added Content deleted
imported>Maxima enthusiast No edit summary |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,273: | Line 1,273: | ||
{{libheader|Wren-math}} |
{{libheader|Wren-math}} |
||
Two numbers are coprime if their GCD is 1. |
Two numbers are coprime if their GCD is 1. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./math" for Int |
||
var pairs = [[21,15],[17,23],[36,12],[18,29],[60,15]] |
var pairs = [[21,15],[17,23],[36,12],[18,29],[60,15]] |