A010423 Squares mod 62.
0, 1, 2, 4, 5, 7, 8, 9, 10, 14, 16, 18, 19, 20, 25, 28, 31, 32, 33, 35, 36, 38, 39, 40, 41, 45, 47, 49, 50, 51, 56, 59
Offset: 1
Programs
-
Mathematica
Union[PowerMod[Range[62], 2, 62]] (* Alonso del Arte, Dec 31 2019 *)
-
Sage
[quadratic_residues(62)] # Zerinvary Lajos, May 24 2009
-
Scala
(1 to 62).map(n => n * n % 62).toSet.toSeq.sorted // Alonso del Arte, Dec 31 2019