OFFSET
0,2
COMMENTS
Period = 20.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
MATHEMATICA
PowerMod[7, Range[0, 100], 1000] (* Vincenzo Librandi, Aug 16 2016 *)
PROG
(PARI) for(i=0, 100, print(7^i%1000" "))
(Magma) [Modexp(7, n, 1000): n in [0..110]]; // Vincenzo Librandi, Aug 16 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
V. Raman, Sep 01 2012
EXTENSIONS
a(0) = 1 prepended and offset changed by Vincenzo Librandi, Aug 16 2016
STATUS
approved