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.

A010411 Squares mod 50.

This page as a plain text file.
%I A010411 #23 Sep 08 2022 08:44:37
%S A010411 0,1,4,6,9,11,14,16,19,21,24,25,26,29,31,34,36,39,41,44,46,49
%N A010411 Squares mod 50.
%t A010411 Union[PowerMod[Range[50], 2, 50]]
%o A010411 (Sage) [quadratic_residues(50)] # _Zerinvary Lajos_, May 24 2009
%o A010411 (Scala) (1 to 50).map(n => (n * n) % 50).toSet.toSeq.sorted // _Alonso del Arte_, Dec 25 2019
%o A010411 (Magma) [ n: n in [0..49] | IsSquare(R! n) where R:= ResidueClassRing(50)]; // _Vincenzo Librandi_, Dec 28 2019
%Y A010411 Row 50 of A096008.
%Y A010411 Cf. A028763.
%K A010411 nonn,fini,full,easy
%O A010411 1,3
%A A010411 _N. J. A. Sloane_