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.

A010381 Squares mod 19.

Original entry on oeis.org

0, 1, 4, 5, 6, 7, 9, 11, 16, 17
Offset: 1

Views

Author

Keywords

Crossrefs

Row 19 of A096008.
Cf. A028732.

Programs

  • Mathematica
    Union[PowerMod[Range[19], 2, 19]] (* Alonso del Arte, Dec 19 2019 *)
  • Sage
    [quadratic_residues(19)] # Zerinvary Lajos, May 24 2009
    
  • Scala
    (1 to 19).map(n => (n * n) % 19).toSet.toSeq.sorted // Alonso del Arte, Dec 19 2019