OFFSET
0,2
COMMENTS
Period = 100.
LINKS
V. Raman and Vincenzo Librandi, Table of n, a(n) for n = 0..1000 (first 100 terms from V. Raman)
MATHEMATICA
PowerMod[3, Range[0, 100], 1000] (* Vincenzo Librandi, Aug 16 2016 *)
PROG
(PARI) a(n) = lift(Mod(3, 1000)^n); \\ Michel Marcus, Aug 16 2016
(Magma) [Modexp(3, n, 1000): n in [0..110]]; // Vincenzo Librandi, Aug 16 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
V. Raman, Sep 01 2012
EXTENSIONS
Definition corrected by Zak Seidov, Jul 27 2014
Offset changed and a(0) = 1 prepended by Vincenzo Librandi, Aug 16 2016
STATUS
approved