login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A271380
a(n) = 5^n mod 163.
2
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,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
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
Cf. similar sequences listed in A271378.
Sequence in context: A006339 A032534 A036151 * A036149 A061974 A015950
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 07 2016
STATUS
approved