login
A010421
Squares mod 60.
7
0, 1, 4, 9, 16, 21, 24, 25, 36, 40, 45, 49
OFFSET
1,3
COMMENTS
Range of A159852. - Reinhard Zumkeller, Apr 24 2009
MATHEMATICA
Union[PowerMod[Range[60], 2, 60]] (* Alonso del Arte, Jan 03 2020 *)
PROG
(Sage) [quadratic_residues(60)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 60).map(n => n * n % 60).toSet.toSeq.sorted // Alonso del Arte, Jan 03 2020
(Magma) [n: n in [0..59] | IsSquare(R! n) where R:= ResidueClassRing(60)]; // Vincenzo Librandi, Jan 05 2020
CROSSREFS
Row 60 of A096008.
Cf. A028773.
Sequence in context: A313339 A313340 A010461 * A286069 A010445 A155570
KEYWORD
nonn,fini,full,easy
STATUS
approved