image thumbnail

Jacobi and Legendre symbol

version 1.0.0.0 (1.52 KB) by Petter
JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol.

1.1K Downloads

Updated 9 Jul 2009

View License

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 (2022). Jacobi and Legendre symbol (https://www.mathworks.com/matlabcentral/fileexchange/24672-jacobi-and-legendre-symbol), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!