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.

Original entry on oeis.org

2, 3, 5, 6, 7, 8, 10, 11, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23
Offset: 1

Views

Author

Keywords

Comments

The first 18 terms of A092206. - R. J. Mathar, Mar 21 2023

Crossrefs

Cf. A010386.

Programs

  • Mathematica
    Complement[Range[0, 23], PowerMod[Range[0, 23], 2, 24]] (* Alonso del Arte, Nov 24 2019 *)
  • Scala
    val squaresMod24 = (0 to 23).map(n => n * n).map(_ % 24)
    (0 to 23).diff(squaresMod24) // Alonso del Arte, Nov 24 2019