[Foxtrot] APR-CL primality test
Alan Lawrence
acl33@hermes.cam.ac.uk
Mon, 19 Feb 2001 19:52:32 +0000 (GMT)
Compiles, but doesn't work :-(
For "smallish" numbers (anything up to ~~100 digits), it hits upon a
definite answer (prime/composite) in the early stages of the
algorithm; I'm assuming this to be correct, though there is that suspect
number that Maple says is prime and my code says is composite....
But for larger numbers (150ish digits; 512 bits), it reports that every
number is composite.....which is obviously wrong! Most likely cause is
bugs in the Jacobi Sum arithmetic code
(foxtrot/src/foxtrot/primetest/JacobiSum.java; javadoc it and then look in
the supplement to that paper). Question is, is it worth our time testing
it and getting it working, or should we just stick with Miller-Rabin?
Seems a bit of a waste of my hours if we leave it, but then, everyone else
has limited hours too....any thoughts?
Cheers,
Alan