Anonymous user
Sequence: nth number with exactly n divisors: Difference between revisions
Sequence: nth number with exactly n divisors (view source)
Revision as of 18:07, 15 April 2019
, 5 years ago→more optimization: added wording to the REXX section header.
(→{{header|Go}}: Oops, wrong timing.) |
m (→more optimization: added wording to the REXX section header.) |
||
Line 735:
::::::* odd non-prime numbers.
::::::* even numbers.
This REXX version (unlike the 1<sup>st</sup> version(, only goes through the numbers once, instead
of looking for numbers that have specific number of divisors.
<lang rexx>/*REXX program finds and displays the Nth number with exactly N divisors. */
parse arg N . /*obtain optional argument from the CL.*/
|