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-2 of 2 results.

A010392 Squares mod 31.

Original entry on oeis.org

0, 1, 2, 4, 5, 7, 8, 9, 10, 14, 16, 18, 19, 20, 25, 28
Offset: 1

Views

Author

Keywords

Crossrefs

Row 31 of A096008.

Programs

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

A028775 Nonsquares mod 62.

Original entry on oeis.org

3, 6, 11, 12, 13, 15, 17, 21, 22, 23, 24, 26, 27, 29, 30, 34, 37, 42, 43, 44, 46, 48, 52, 53, 54, 55, 57, 58, 60, 61
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A010423, A028744 (subsequence).

Programs

  • Mathematica
    Complement[Range[0, 61], PowerMod[Range[62], 2, 62]] (* Alonso del Arte, Dec 31 2019 *)
  • Scala
    (0 to 61).diff((1 to 62).map(n => n * n % 62)) // Alonso del Arte, Dec 31 2019

Extensions

Incorrect term 31 removed by Alonso del Arte, Nov 29 2019
Showing 1-2 of 2 results.