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.
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 (2024). 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 LinuxCategories
- Mathematics and Optimization > Symbolic Math Toolbox > Symbolic Computations in MATLAB > Symbolic Variables, Expressions, Functions, and Preferences >
Find more on Symbolic Variables, Expressions, Functions, and Preferences in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |