@inproceedings{6a9d1efb024f4649b1735fb6f45d3106,
title = "An O(M(n) log n) algorithm for the Jacobi symbol",
abstract = "The best known algorithm to compute the Jacobi symbol of two n-bit integers runs in time O(M(n)logn), using Sch{\"o}nhage's fast continued fraction algorithm combined with an identity due to Gauss. We give a different O(M(n)logn) algorithm based on the binary recursive gcd algorithm of Stehl{\'e} and Zimmermann. Our implementation - which to our knowledge is the first to run in time O(M(n)logn) - is faster than GMP's quadratic implementation for inputs larger than about 10000 decimal digits.",
author = "Brent, \{Richard P.\} and Paul Zimmermann",
year = "2010",
doi = "10.1007/978-3-642-14518-6\_10",
language = "English",
isbn = "3642145175",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
pages = "83--95",
booktitle = "Algorithmic Number Theory - 9th International Symposium, ANTS-IX, Proceedings",
note = "9th International Symposium on Algorithmic Number Theory, ANTS-IX ; Conference date: 19-07-2010 Through 23-07-2010",
}