[HP35s] Program for prime number (Wheel Sieve and Miller-Rabin)
|
04-09-2019, 03:52 PM
(This post was last modified: 04-10-2019 07:31 AM by fred_76.)
Post: #46
|
|||
|
|||
RE: [HP35s] Program for prime number (brut force)
Hi !
After a long period without programming I was finally able to complete the Miller-Rabin primality test on the HP35s. It runs very fast, even if the code is not optimized, but from 9 digits numbers and above. For numbers less than 9 digits, the optimized brut force is faster. For numbers above 11 digits, I still have problems to calculate the exponentiation without overflow therefore I can't conclude. Compared to the "brut force V3" : Quote:Run time |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 23 Guest(s)