News for hackers. Stuff that matters.
Re:2^74207281-1 is Prime by CUViper on Tuesday January 19, 2016 @06:38PM (#10934982)
https://en.wikipedia.org/wiki/Prime_number_theorem#Approxima...

So with the kth prime ~= k log k, the ratio of primes is 1 / log k. Yes that drops to zero, but very slowly.

You can use the upper bound of the kth prime to build a sufficiently large sieve, which can be done O(n).

There are no comments on this comment yet.