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.

A010386 Squares mod 24.

Original entry on oeis.org

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

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    sort(convert({seq(i^2 mod 24,i=0..12)},list)); # Robert Israel, Apr 19 2017
  • Mathematica
    Union[PowerMod[Range[24], 2, 24]] (* Alonso del Arte, Apr 06 2017 *)
  • Sage
    [quadratic_residues(24)] # Zerinvary Lajos, May 24 2009
    
  • Scala
    (1 to 24).map(n => (n * n) % 24).toSet.toSeq.sorted // Alonso del Arte, Dec 24 2019
Showing 1-1 of 1 results.