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.

A028771 Nonsquares mod 58.

This page as a plain text file.
%I A028771 #12 Jul 22 2025 13:48:40
%S A028771 2,3,8,10,11,12,14,15,17,18,19,21,26,27,31,32,37,39,40,41,43,44,46,47,
%T A028771 48,50,55,56
%N A028771 Nonsquares mod 58.
%t A028771 Complement[Range[0, 57], PowerMod[Range[58], 2, 58]] (* _Alonso del Arte_, Nov 29 2019 *)
%o A028771 (Scala) val squaresMod58 = (1 to 58).map(n => n * n).map(_ % 58)
%o A028771 (0 to 57).diff(squaresMod58) // _Alonso del Arte_, Nov 29 2019
%Y A028771 Cf. A010419, A028742 (subsequence).
%K A028771 nonn,fini,full
%O A028771 1,1
%A A028771 _N. J. A. Sloane_
%E A028771 Incorrect term 29 removed by _Alonso del Arte_, Nov 29 2019