Coprime triplets: Difference between revisions

(Added Quackery.)
(→‎{{header|Quackery}}: shortened code)
Line 919:
<code>coprime</code> is defined at [[Coprimes#Quackery]].
 
<syntaxhighlight lang="Quackery"> [ over find swap found not ] is usedunused ( [ x --> b )
' [ 1 2 ] 32
[ 1+ dup 50 < while
over -1 peek
over coprime not iff 1+ againuntil
over -2 peek
over coprime not iff 1+ againuntil
2dup usedunused iff 1+ againuntil
join 32 again ]
drop
echo</syntaxhighlight>
</syntaxhighlight>
 
{{out}}
1,462

edits