Jacobi and Legendre symbol

JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol.

You are now following this Submission

For the Legendre symbol (m/p), p must be an odd prime. The Jacobi symbol (m/n) allows n to be any odd number.

Cite As

Petter (2026). Jacobi and Legendre symbol (https://uk.mathworks.com/matlabcentral/fileexchange/24672-jacobi-and-legendre-symbol), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0