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.

A271380 a(n) = 5^n mod 163.

Original entry on oeis.org

1, 5, 25, 125, 136, 28, 140, 48, 77, 59, 132, 8, 40, 37, 22, 110, 61, 142, 58, 127, 146, 78, 64, 157, 133, 13, 65, 162, 158, 138, 38, 27, 135, 23, 115, 86, 104, 31, 155, 123, 126, 141, 53, 102, 21, 105, 36, 17, 85, 99, 6, 30, 150, 98, 1, 5, 25, 125, 136, 28
Offset: 0

Views

Author

Vincenzo Librandi, Apr 07 2016

Keywords

Comments

Period 54: repeat [1, 5, 25, 125, 136, 28, 140, 48, 77, 59, 132, 8, 40, 37, 22, 110, 61, 142, 58, 127, 146, 78, 64, 157, 133, 13, 65, 162, 158, 138, 38, 27, 135, 23, 115, 86, 104, 31, 155, 123, 126, 141, 53, 102, 21, 105, 36, 17, 85, 99, 6, 30, 150, 98].

Crossrefs

Cf. similar sequences listed in A271378.

Programs

  • Magma
    [Modexp(5, n, 163): n in [0..100]];
    
  • Mathematica
    PowerMod[5, Range[0, 100], 163]
  • PARI
    a(n) = lift(Mod(5, 163)^n) \\ Felix Fröhlich, Apr 07 2016
  • Sage
    [power_mod(5, n, 163) for n in (0..60)] # Bruno Berselli, Apr 07 2016
    

Formula

a(n) = a(n-54).