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