OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[17], 2, 17]] (* Alonso del Arte, Dec 17 2019 *)
PROG
(Sage) [quadratic_residues(17)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 17).map(n => (n * n) % 17).toSet.toSeq.sorted // Alonso del Arte, Dec 17 2019
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved