Sieve of Eratosthenes: Difference between revisions
→Infinite list using threads and channels: note that is trial division not Eratosthenes...
GordonBGood (talk | contribs) (→Infinite list using laziness: note use of modulo means trial division...) |
GordonBGood (talk | contribs) (→Infinite list using threads and channels: note that is trial division not Eratosthenes...) |
||
Line 4,021:
=== Infinite list using threads and channels ===
{{incorrect|Niue|It uses remainder (modulo) testing and so is a trial division algorithm, not a sieve of Eratosthenes.}}
<lang Racket>
#lang racket
|