[HP35s] Program for prime number (Wheel Sieve and Miller-Rabin)
|
02-16-2019, 07:57 PM
(This post was last modified: 02-16-2019 08:52 PM by Albert Chan.)
Post: #37
|
|||
|
|||
RE: [HP35s] Program for prime number (brut force)
(02-16-2019 07:09 PM)Gerald H Wrote: "Set at random Re-reading your quote, I was mistaken. I read a bit too fast, and think you are saying until 1 [witness] appears. Changing the word witness to non-witness made the statement un-ambiguous. "Until 1 pseduoprime appears" also work. (02-16-2019 06:18 PM)Gerald H Wrote: Should you inspect the programme you'll find the largest small factor that is tested for is If the code checked this far, why the need for SPRP test ? Any 12 digits integer, with small factor upto 999999 checked, already proved primality. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)