Deepak And Primes problem states that we need to give nth prime number where n can be as large as 5,000,000.
I could not figure out where exactly the 5000000th prime number will be
using prime Number theorem also seems unfruitful
5000000 = x/ln(x);
where x~ 135,000,000
we can only build segment sieve once we know what is the segment for such a large prime number, or it has to be done in some other way?