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

2×3×151 Posts
Default

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