## sauravshakya 3 years ago Is there a formula to get nth term of the prime number. t(1)=2 t(2)=3 t(3)=5 t(4)=7 . . . t(n)=?

1. klimenkov

You will be given a lot of money if you'll find it! This is one of the most populap math problem in the world!

2. lgbasallote

2 is prime?

3. sauravshakya

oh.......

4. klimenkov

@lgbasallote sure. It has no dividers except 1 and itself 2.

5. tcarroll010

Yes, 2 is prime. Interestingly, there is a relationship between terms in the Fibonacci sequence and primes.

6. lgbasallote

then why isn't 1 prime?

7. klimenkov

It is not prime by definition.

8. Coolsector

because it has only 1 dividers ;)

9. lgbasallote

you can actually make a code that can find the nth prime number...

10. sauravshakya

So, this question has no answer. Thanx guys.

11. Coolsector

i know that there are formulas that holds up to a given n but not a general one

12. klimenkov

\(2^{43112609}−1\) Is the biggest prime number that was found.

13. sara12345

that code depends on stack values, a single formula for tn is not there

14. Coolsector

given n - i mean up to a specific n