User:Thebigh/mysandbox: Difference between revisions
→Sort three variables: -expand
(more) |
(→Sort three variables: -expand) |
||
Line 16:
==Sort three variables==
FRACTRAN's only data type is positive integers. Suppose (a,b,c) are the integers to be sorted. Give the following as input:
<lang fractran>
▲2^a*3^b*5^c
{1001/30, 143/6, 143/10, 143/15, 13/2, 13/3, 13/5}
</lang>
|