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