quadratic_residues | R Documentation |
List all quadratic residues of an integer.
quadratic_residues(n)
n |
integer. |
Squares all numbers between 0 and n/2
and generate a unique list of
all these numbers modulo n
.
Vector of integers.
legendre_sym
quadratic_residues(17)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.