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