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.

A028754 Nonsquares mod 41.

Original entry on oeis.org

3, 6, 7, 11, 12, 13, 14, 15, 17, 19, 22, 24, 26, 27, 28, 29, 30, 34, 35, 38
Offset: 1

Views

Author

Keywords

Examples

			x^2 = 7 mod 41 has no solutions, so 7 is in the sequence.
x^2 = 8 mod 41 has the solutions x = 7 and x = 34. Hence 8 is not in the sequence.
		

Crossrefs

Programs

  • Mathematica
    Complement[Range[40], PowerMod[Range[41], 2, 41]] (* Alonso del Arte, Jan 12 2017 *)
  • Scala
    (0 to 40).diff((1 to 41).map(n => n * n % 41)) // Alonso del Arte, May 01 2020