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.

Showing 1-1 of 1 results.

A010382 Squares mod 20.

Original entry on oeis.org

0, 1, 4, 5, 9, 16
Offset: 1

Views

Author

Keywords

Comments

Range of A070442. - Reinhard Zumkeller, Apr 24 2009

Crossrefs

Row 20 of A096008.
Cf. A028733.

Programs

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