java Programming Glossary: millionth
Calculating and printing the nth prime number http://stackoverflow.com/questions/9625663/calculating-and-printing-the-nth-prime-number the 100000 th prime 1299709 several minutes about 5 the millionth prime 15485863 would take about eight and a half hours the ten.. 15485863 would take about eight and a half hours the ten millionth prime 179424673 weeks and so on. The runtime complexity is worse.. that didn't help much if we want to find the one hundred millionth prime so we have to do better. Trying to reduce the loop limit..
|