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)=?
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 is prime?
oh.......
@lgbasallote sure. It has no dividers except 1 and itself 2.
Yes, 2 is prime. Interestingly, there is a relationship between terms in the Fibonacci sequence and primes.
then why isn't 1 prime?
It is not prime by definition.
because it has only 1 dividers ;)
you can actually make a code that can find the nth prime number...
So, this question has no answer. Thanx guys.
i know that there are formulas that holds up to a given n but not a general one
\(2^{43112609}−1\) Is the biggest prime number that was found.
that code depends on stack values, a single formula for tn is not there
given n - i mean up to a specific n
Join our real-time social learning platform and learn together with your friends!