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