Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the quadratic residues of an integer
ResourceFunction["QuadraticResidues"][n] gives a list of the quadratic residues of n. |
Get the quadratic residues of an integer:
In[1]:= |
Out[1]= |
Get the quadratic residues of the first 20 integers:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License