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.

A010443 Squares mod 82.

Original entry on oeis.org

0, 1, 2, 4, 5, 8, 9, 10, 16, 18, 20, 21, 23, 25, 31, 32, 33, 36, 37, 39, 40, 41, 42, 43, 45, 46, 49, 50, 51, 57, 59, 61, 62, 64, 66, 72, 73, 74, 77, 78, 80, 81
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Union[PowerMod[Range[82], 2, 82]] (* Alonso del Arte, May 01 2020 *)
  • Sage
    [quadratic_residues(82)] # Zerinvary Lajos, May 28 2009
    
  • Scala
    (1 to 82).map(n => n * n % 82).toSet.toList.sorted // Alonso del Arte, May 01 2020

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