Anonymous user
Permuted multiples: Difference between revisions
m
→{{header|REXX}}: simplified some code.
(→{{header|AppleScript}}: Additional edit to preamble.) |
m (→{{header|REXX}}: simplified some code.) |
||
Line 438:
=={{header|REXX}}==
<lang rexx>/*REXX program finds and displays the smallest positive integer n such that
/*───────────────────────── 2*n, 3*n, 4*5, 5*6, and 6*n contain the same decimal digits.*/
t= 3*n
say ' n =' commas(n)
say ' 2*n =' commas(b)
end /*n*/
exit 0 /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
|