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.

A116609 a(n) = 13^n mod n.

Original entry on oeis.org

0, 1, 1, 1, 3, 1, 6, 1, 1, 9, 2, 1, 0, 1, 7, 1, 13, 1, 13, 1, 13, 15, 13, 1, 18, 13, 1, 1, 13, 19, 13, 1, 19, 33, 27, 1, 13, 17, 13, 1, 13, 1, 13, 5, 28, 31, 13, 1, 48, 49, 4, 13, 13, 1, 32, 1, 31, 53, 13, 1, 13, 45, 55, 1, 13, 31, 13, 1, 58, 29, 13, 1, 13, 21, 7
Offset: 1

Views

Author

Zak Seidov, Feb 19 2006

Keywords

Examples

			a(5)=3 because 13^5 = 371293 = 3 mod 5.
		

Programs

  • Mathematica
    Table[PowerMod[13,k,k],{k,200}]
  • PARI
    a(n) = { lift(Mod(13, n)^n) } \\ G. C. Greubel, Oct 28 2017