Closed haru-44 closed 1 year ago
I’m sorry to bother you again.
https://github.com/aleaxit/gmpy/blob/2beaae28d2274f32e11ebd1512de4755821045bb/src/gmpy_mpz_prp.c#L134-L135
This description is different from the immediately preceding comment. I think the correct description should be a**((n-1)/2) == (a/n) (mod n) [(a/n) is the Jacobi symbol].
a**((n-1)/2) == (a/n) (mod n) [(a/n) is the Jacobi symbol]
thanks
I’m sorry to bother you again.
https://github.com/aleaxit/gmpy/blob/2beaae28d2274f32e11ebd1512de4755821045bb/src/gmpy_mpz_prp.c#L134-L135
This description is different from the immediately preceding comment. I think the correct description should be
a**((n-1)/2) == (a/n) (mod n) [(a/n) is the Jacobi symbol]
.