OFFSET
0,2
COMMENTS
Has period 100. Sequence of last four digits has period 500. Cf. A000855 Final two digits of 2^n, has period 20.
LINKS
V. Raman and Vincenzo Librandi, Table of n, a(n) for n = 0..1000 (first 103 terms from V. Raman)
MATHEMATICA
Table[PowerMod[2, n, 1000], {n, 1000}]
PROG
(PARI) for(i=1, 103, print(i" "(2^i)%1000)) \\ V. Raman, Sep 01 2012
(Magma) [Modexp(2, n, 1000): n in [0..110]]; // Vincenzo Librandi, Aug 16 2016
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Zak Seidov, Mar 13 2007
STATUS
approved