Check out my first novel, midnight's simulacra!

Stehlé-Zimmermann algorithm

From dankwiki

An algorithm for calculating the Jacobi symbol of two n-digit numbers in O(lg n M(n)) time, where M(n) is the complexity of a chosen multiplication algorithm for n-bit numbers.

See Also