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.

A010407 Squares mod 46.

This page as a plain text file.
%I A010407 #17 Dec 23 2019 06:06:46
%S A010407 0,1,2,3,4,6,8,9,12,13,16,18,23,24,25,26,27,29,31,32,35,36,39,41
%N A010407 Squares mod 46.
%t A010407 Union[PowerMod[Range[46], 2, 46]] (* _Alonso del Arte_, Dec 23 2019 *)
%o A010407 (Sage) [quadratic_residues(46)] # _Zerinvary Lajos_, May 24 2009
%o A010407 (Scala) (1 to 46).map(n => (n * n) % 46).toSet.toSeq.sorted // _Alonso del Arte_, Dec 23 2019
%Y A010407 Cf. A028759.
%K A010407 nonn,fini,full,easy
%O A010407 1,3
%A A010407 _N. J. A. Sloane_