Jump to content

Semiprime: Difference between revisions

m
(→‎version 2: added a count of semprimes found, changed comments, source, whitespace, indented the output.)
m (→‎version 3, with memoization: fixed an HTML tag.)
Line 1,566:
 
===version 3, with memoization===
This REXX version is overt 20% faster than version 2   (when in the   ''millions''   range).
 
If the 2<sup>nd</sup> argument &nbsp; ('''top''') &nbsp; is negative &nbsp; (it's absolute value is used), &nbsp; individual numbers in the range aren't shown, but the count of semiprimes found is shown.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.