Re: The fastest way to test primality of the number ?
I would probably use the Lucas-Lehmer primality test, but even with that you have to run the trial 2,147,483,645 times. That being said this number has been shown to have at least four factors.
Re: The fastest way to test primality of the number ?
Originally Posted by wsldam
I would probably use the Lucas-Lehmer primality test, but even with that you have to run the trial 2,147,483,645 times. That being said this number has been shown to have at least four factors.
Miller-Rabin test is probably faster than Lucas-Lehmer . Do you know how it is discovered that number has at least four factors ?