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