Let , where refers to the th prime number. What is the 1000th digit of after the decimal point?
Clarification:
is a decimal made by concatenating primes.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let's use functions π ( n ) (outputs the number of primes less than or equal to n ) and p ( n ) (outputs the n t h prime).
Since π ( 1 0 ) = 4 , π ( 1 0 0 ) = 2 5 , π ( 1 0 0 0 ) = 1 6 8 and π ( 1 0 0 0 0 ) = 1 2 2 9 , we know that the prime with the 1 0 0 0 t h digit has 4 digits.
Since 1 0 0 0 − 1 ⋅ 4 + 2 ( 2 5 − 4 ) + 3 ( 1 6 8 − 2 5 ) = 5 2 5 = 4 ⋅ 1 3 1 + 1 we know that the 1 0 0 0 t h digit is the first digit of 1 6 8 + 1 3 2 = 3 0 0 t h prime.
Since, p ( 3 0 0 ) = 1 9 8 7 we know that the answer is 1 .
I was too lazy to write a program to do this for me, I only needed to check some of these values online and perform some calculations to be able to solve this. :D