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.

A070596 n^5 mod 11.

Original entry on oeis.org

0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10, 0, 1, 10, 1, 1, 1, 10, 10
Offset: 0

Views

Author

N. J. A. Sloane, May 13 2002

Keywords

Comments

Periodic, with period = 11 (0, 1, 10, 1, 1, 1, 10, 10, 10, 1, 10). - Harvey P. Dale, Jan 01 2017

Programs

  • Mathematica
    PowerMod[Range[0,90],5,11] (* or *) PadRight[{},100,{0,1,10,1,1,1,10,10,10,1,10}] (* Harvey P. Dale, Jan 01 2017 *)
  • PARI
    a(n)=n^5%11 \\ Charles R Greathouse IV, Apr 06 2016
  • Sage
    [power_mod(n,5,11)for n in range(0, 85)] # - Zerinvary Lajos, Jun 08 2009