10001th prime: Difference between revisions

m
m (Realize in F#)
Line 7:
=={{header|ALGOL 68}}==
Chebyshev showed that the limit of pi( n ) / ( n / ln(n) ) as n approaches infinity is 1 ( pi( n ) is the number of primes up to n ).<br>
The APPROXIMATESIEVESIZEFOR operator uses this to find a rough value for size of sieve needed to contain the reuiredrequired number of primes.
{{libheader|ALGOL 68-primes}}
<lang algol68>BEGIN # find the 10001st prime #
3,048

edits