95. Find primes

Use the methods that you used in the previous solution to make a program that looks for primes. Let the user enter a starting value and a desired probability. Make the program search upward from the starting value until it finds a number that is probably prime to the desired level of probability. Use the program to find the smallest prime larger than 1 trillion.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset