OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[79], 2, 79]] (* Alonso del Arte, Jan 22 2020 *)
PROG
(Sage) [quadratic_residues(79)] # Zerinvary Lajos, May 28 2009
(Scala) (1 to 79).map(n => n * n % 79).toSet.toSeq.sorted // Alonso del Arte, Jan 22 2020
(Magma) [n: n in [0..78] | IsSquare(R! n) where R:= ResidueClassRing(79)]; // Vincenzo Librandi, Jan 23 2020
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved