OFFSET
0,2
COMMENTS
Period is 20.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1).
MATHEMATICA
PowerMod[3, Range[0, 60], 100] (* Vincenzo Librandi, Aug 15 2016 *)
PROG
(PARI) a(n)=lift(Mod(3, 100)^n) \\ Charles R Greathouse IV, Dec 27 2012
(Magma) [Modexp(3, n, 100): n in [0..100]]; // Vincenzo Librandi, Aug 15 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Definition corrected by Zak Seidov, Jul 27 2014
STATUS
approved
