A binary algorithm for the Jacobi symbol

  • Authors:
  • Jeffrey Shallit;Jonathan Sorenson

  • Affiliations:
  • -;-

  • Venue:
  • ACM SIGSAM Bulletin
  • Year:
  • 1993

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a new algorithm to compute the Jacobi symbol, based on Stein's binary algorithm for the greatest common divisor, and we determine the worst-case behavior of this algorithm. Our implementation of the algorithm runs approximately 7--25% faster than traditional methods on inputs of size 100--1000 decimal digits.