legendre_symbol
Compute the Legendre symbol (a/p) to determine quadratic residue properties for prime modulus p in modular arithmetic.
Instructions
Compute Legendre symbol (a/p) for prime p. (Domain: arithmetic, Category: modular_arithmetic)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| p | Yes |