Last chance! 50% off unlimited learning
Sale ends in
List all quadratic residues of an integer.
quadratic_residues(n)
Vector of integers.
integer.
Squares all numbers between 0 and n/2
and generate a unique list of
all these numbers modulo n
.
legendre_sym