Evaluation of Jacobi Symbol (Algorithm 99)
CACM November, 1962
May, R. W.
