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.

A010392 Squares mod 31.

This page as a plain text file.
%I A010392 #21 Jan 12 2024 06:21:10
%S A010392 0,1,2,4,5,7,8,9,10,14,16,18,19,20,25,28
%N A010392 Squares mod 31.
%t A010392 Union[PowerMod[Range[31], 2, 31]] (* _Alonso del Arte_, Dec 31 2019 *)
%o A010392 (Sage) [quadratic_residues(31)] # _Zerinvary Lajos_, May 24 2009
%o A010392 (Scala) (1 to 31).map(n => n * n % 31).toSet.toSeq.sorted // _Alonso del Arte_, Dec 31 2019
%Y A010392 Row 31 of A096008.
%Y A010392 Cf. A010423, A028744.
%K A010392 nonn,fini,full,easy
%O A010392 1,3
%A A010392 _N. J. A. Sloane_