View Single Post
Old 2015-07-11, 21:16   #3
"Dana Jacobsen"
Feb 2011
Bangkok, TH

2·3·151 Posts

For even more awesomeness you could use Deterministic M-R with ceil(n/4) as the limit.

(I really wish the previously referenced task could be renamed, as far too many people think what is described is actually AKS)

Tempted to post the primality regex...

Last fiddled with by danaj on 2015-07-11 at 21:17
danaj is offline   Reply With Quote