Anti-primes: Difference between revisions

m
→‎{{header|REXX}}: changed a comment.
m (→‎{{header|REXX}}: added wording to the REXX section preamble.)
m (→‎{{header|REXX}}: changed a comment.)
Line 323:
do j=1 until #==N; d= #divs(j) /*obtain the number of divisors for K.*/
if d<=maxD then iterate /*Is D ≤ previous div count? Skip it. */
#= # + 1; $= $ j /*found an anti1primeanti─prime #, add it to list*/
maxD= d /*use this as the new high─water mark. */
end /*j*/