Anonymous user
Sequence: smallest number greater than previous term with exactly n divisors: Difference between revisions
Sequence: smallest number greater than previous term with exactly n divisors (view source)
Revision as of 18:39, 16 July 2020
, 3 years ago→{{header|REXX}}: edlded a blank line, added an exit code.
m (→{{header|REXX}}: edlded a blank line, added an exit code.) |
|||
Line 831:
say center(#, 8) right(i, 15) /*display the index and the anti─prime.*/
end /*i*/
exit 0 /*stick a fork in it, we're all done. */▼
▲exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
#divs: procedure; parse arg x 1 y /*X and Y: both set from 1st argument.*/
|