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.

A069547 a(n) = n^2 mod n-th prime.

Original entry on oeis.org

1, 1, 4, 2, 3, 10, 15, 7, 12, 13, 28, 33, 5, 24, 37, 44, 53, 19, 26, 45, 3, 10, 31, 42, 43, 70, 8, 35, 78, 109, 72, 107, 130, 44, 33, 88, 113, 140, 18, 43, 70, 135, 130, 6, 55, 126, 99, 74, 131, 210, 38, 75, 158, 155, 198, 243, 21, 112, 157, 228, 42, 35, 285, 53, 156, 235
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 17 2002

Keywords

Comments

What is the origin of pattern at n~(6-7)*10^3 (see link to figure)? - Zak Seidov, Nov 22 2011

Crossrefs

Programs

  • Mathematica
    Table[ PowerMod[n, 2, Prime[n]], {n, 1, 70}]
  • PARI
    vector(100, n, n^2 % prime(n)) \\ Michel Marcus, Jun 01 2015

Extensions

Edited and extended by Robert G. Wilson v, Apr 22 2002