answersLogoWhite

0


Best Answer

There isn't an exact formula. I cannot tell you the 5th prime other than by trying every number until I find the 5th prime.

What you can do is sieve for primes. noting that 0, 1 are neither prime nor composite, make a list starting from 2. Follow these rules: Every number not crossed out is a Prime number. Once a prime number is found, count that number forward, and cross out that number and every other number in the list. E.g. 2 is the first prime, so, cross out every other number in the list (as these are all multiples of 2). 3 is the next prime, so cross out every 3rd number. 4 has been crossed out (due to 2), and 5 is the next prime, so cross out every 5th number. 6 has been crossed out (due to 2 and 3), so skip it, and 7 is not crossed out, so that is the next prime.

this process is infinitely repeatable but at the same time one could never complete this process because there are infinite numbers. As such, this method really only works for a small set of numbers. By hand, maybe all primes 2-2000, by computer, maybe 2-2,000,000,000 or more.

See Wikipedia's article on the Prime Counting Function. Its approximation allows one to target the expected area of the nth prime as the nth prime will occur near 1.02*n/ln(n). This approximation says the 1107th prime should occur around 10000. It's actual location is at 8887. Similarly, we get estimate, actual for the 8859th prime as 100K vs 91673.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the formula for finding the nth prime no?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the nth term formula of prime numbers?

There is no formula for prime numbers. They form a random sequence.


When finding the nth term won't it be a number not a formula?

No, it will be a formula, because "the nth term" means that you have not defined exactly which term it is. So, you make a formula which works for ANY term in the sequence.


What is the formula for finding the nth hexagonal number?

The nth hexagonal number is given by the formula: hn = 2n * (2n - 1) / 2


What is the formula in finding the volume of a cube given its nth measure of its edge?

V = n3


What is the nth formula of 1422303846?

The nth formula is Un = 1422303846 for all n.


What is the Nth term formula for rectangular numbers?

There is no such formula. Rectangular numbers are composite numbers and there is no known formula that will generate either composite numbers or prime numbers.


What is the formula for finding prime factors?

k>root of p


What is the formula for finding a prime number?

Any number that has only two factors is a prime number.


What is the Nth Term Formula for Oblong Numbers?

The Nth term formula for oblong numbers is N = N(N+1)


What is the LCM of 42 63 and 105 formula?

It is: 630 by finding the prime factors of the given numbers


Can you find the nth term from the pattern 5 12 21 32?

To find the nth term in this pattern, we first need to identify the pattern itself. The differences between consecutive terms are 7, 9, and 11 respectively. This indicates that the pattern is increasing by 2 each time. Therefore, the nth term can be found using the formula: nth term = 5 + 2(n-1), where n represents the position of the term in the sequence.


What is the formula for the nth term of this sequence 26 17 8 -1?

It is: nth term = 35-9n