View Single Post
Old 2018-12-30, 05:54   #7
CRGreathouse's Avatar
Aug 2006

3×1,993 Posts

Of course for non-Mersenne numbers there still algorithms much faster than trial division. Below 2^64 BPSW works, above that a prp test and ECPP is good (and you can do less if you only need near-certainty, like 99.999999%).
CRGreathouse is offline   Reply With Quote