OFFSET
0,2
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].
LINKS
Felix Fröhlich, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = a(n-54).
MATHEMATICA
PowerMod[5, Range[0, 100], 163]
PROG
(Magma) [Modexp(5, n, 163): n in [0..100]];
(Sage) [power_mod(5, n, 163) for n in (0..60)] # Bruno Berselli, Apr 07 2016
(PARI) a(n) = lift(Mod(5, 163)^n) \\ Felix Fröhlich, Apr 07 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 07 2016
STATUS
approved