Sieve of Eratosthenes: Difference between revisions
Content deleted Content added
m →{{header|C++}}: Boost link, syntax highlighting |
→{{header|Lucid}}: Add recursive solution |
||
Line 546:
end;
end
===recursive===
sieve( N )
where
N = 2 fby N + 1;
sieve( i ) =
i fby sieve ( i whenever i mod first i ne 0 ) ;
end
=={{header|MAXScript}}==
|