cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A010421 Squares mod 60.

This page as a plain text file.
%I A010421 #28 Aug 04 2025 10:06:36
%S A010421 0,1,4,9,16,21,24,25,36,40,45,49
%N A010421 Squares mod 60.
%C A010421 Range of A159852. - _Reinhard Zumkeller_, Apr 24 2009
%t A010421 Union[PowerMod[Range[60], 2, 60]] (* _Alonso del Arte_, Jan 03 2020 *)
%o A010421 (Sage) [quadratic_residues(60)] # _Zerinvary Lajos_, May 24 2009
%o A010421 (Scala) (1 to 60).map(n => n * n % 60).toSet.toSeq.sorted // _Alonso del Arte_, Jan 03 2020
%o A010421 (Magma) [n: n in [0..59] | IsSquare(R! n) where R:= ResidueClassRing(60)]; // _Vincenzo Librandi_, Jan 05 2020
%Y A010421 Cf. A010378, A010382, A010462. - _Reinhard Zumkeller_, Apr 24 2009
%Y A010421 Row 60 of A096008.
%Y A010421 Cf. A028773, A159852.
%K A010421 nonn,fini,full,easy
%O A010421 1,3
%A A010421 _N. J. A. Sloane_