Post Reply 
Most advantageous program written for 41/42?
03-10-2021, 10:57 PM (This post was last modified: 03-10-2021 10:58 PM by Allen.)
Post: #4
RE: Most advantageous program written for 41/42?
I would tend to agree regarding the primality testing.

Many primality testing algorithms are quite fast if you have a modular exponentation function available on the calculator.

The Rabin-miller test for example can guarantee primailty for n < 1,122,004,669,633, by only testing 4 situations where a = 2, 13, 23, and 1662803. ( other bounds in the wikipedia article)

I heavily use a pollard-rho factorization algorithm on my 42s (excellent free42 emulator) which can factor any number my emulated 42s can handle in less than a second.

17bii | 32s | 32sii | 41c | 41cv | 41cx | 42s | 48g | 48g+ | 48gx | 50g | 30b

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Most advantageous program written for 41/42? - Allen - 03-10-2021 10:57 PM



User(s) browsing this thread: 1 Guest(s)