OFFSET
0,2
COMMENTS
Period = 500.
LINKS
V. Raman and Vincenzo Librandi, Table of n, a(n) for n = 0..1000 (first 500 terms from V. Raman)
MATHEMATICA
PowerMod[3, Range[0, 60], 10000] (* Harvey P. Dale, Oct 18 2015 *)
PROG
(PARI) for(i=0, 100, print(3^i%10000" "))
(Magma) [Modexp(3, n, 10000): 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
a(0) = 1, offset changed by Vincenzo Librandi, Aug 16 2016
STATUS
approved