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.

A028759 Nonsquares mod 46.

This page as a plain text file.
%I A028759 #23 Dec 23 2019 00:44:25
%S A028759 5,7,10,11,14,15,17,19,20,21,22,28,30,33,34,37,38,40,42,43,44,45
%N A028759 Nonsquares mod 46.
%e A028759 Since 11 is not a perfect square and there are no solutions to x^2 = 11 mod 46, 11 is in the sequence.
%e A028759 Although 12 is not a perfect square either, there are solutions to x^2 = 12 mod 46, such as x = 14, x = 32. Thus 12 is not in the sequence.
%t A028759 Complement[Range[45], PowerMod[Range[46], 2, 46]] (* _Alonso del Arte_, Nov 23 2019 *)
%o A028759 (Scala) val squaresMod46 = (1 to 46).map(n => n * n).map(_ % 46)
%o A028759 (0 to 45).diff(squaresMod46) // _Alonso del Arte_, Nov 23 2019
%Y A028759 Cf. A028736 (subset), A010407.
%K A028759 nonn,fini,full,easy
%O A028759 1,1
%A A028759 _N. J. A. Sloane_
%E A028759 Incorrect term 23 removed by _Alonso del Arte_, Dec 01 2019