Anonymous user
Sequence: smallest number with exactly n divisors: Difference between revisions
Sequence: smallest number with exactly n divisors (view source)
Revision as of 16:43, 19 July 2020
, 3 years ago→{{header|REXX}}: added whitespace.
(Added Swift solution) |
m (→{{header|REXX}}: added whitespace.) |
||
Line 1,262:
say '──divisors── ──smallest number with N divisors──' /*display title for the numbers.*/
@.= /*the @ array is used for memoization*/
exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
Line 1,318:
say '──divisors── ──smallest number with N divisors──' /*display title for the numbers.*/
@.=. /*the @ array is used for memoization*/
exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
|