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.

A028737 Nonsquares mod 24.

This page as a plain text file.
%I A028737 #16 Mar 21 2023 04:55:49
%S A028737 2,3,5,6,7,8,10,11,13,14,15,17,18,19,20,21,22,23
%N A028737 Nonsquares mod 24.
%C A028737 The first 18 terms of A092206. - _R. J. Mathar_, Mar 21 2023
%t A028737 Complement[Range[0, 23], PowerMod[Range[0, 23], 2, 24]] (* _Alonso del Arte_, Nov 24 2019 *)
%o A028737 (Scala) val squaresMod24 = (0 to 23).map(n => n * n).map(_ % 24)
%o A028737 (0 to 23).diff(squaresMod24) // _Alonso del Arte_, Nov 24 2019
%Y A028737 Cf. A010386.
%K A028737 nonn,fini,full,easy
%O A028737 1,1
%A A028737 _N. J. A. Sloane_