is_quadratic_residue
Determines if an integer is a quadratic residue modulo another integer, solving modular arithmetic problems in number theory.
Instructions
Check if a is a quadratic residue modulo n. (Domain: arithmetic, Category: modular_arithmetic)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| n | Yes |