OFFSET
1,3
COMMENTS
MATHEMATICA
Union[PowerMod[Range[100], 2, 100]] (* Alonso del Arte, Dec 25 2019 *)
PROG
(Sage) [quadratic_residues(100)] # Zerinvary Lajos, May 28 2009
(PARI) A010461=Set(vector(100, n, n^2)%100) \\ M. F. Hasler, Mar 03 2014
(Scala) (1 to 100).map(n => (n * n) % 100).toSet.toSeq.sorted // Alonso del Arte, Dec 25 2019
(Magma) [n: n in [0..99] | IsSquare(R! n) where R:= ResidueClassRing(100)]; // Vincenzo Librandi, Dec 28 2019
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved