login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A126605
Final three digits of 2^n.
5
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 24, 48, 96, 192, 384, 768, 536, 72, 144, 288, 576, 152, 304, 608, 216, 432, 864, 728, 456, 912, 824, 648, 296, 592, 184, 368, 736, 472, 944, 888, 776, 552, 104, 208, 416, 832, 664, 328, 656, 312, 624, 248, 496, 992, 984, 968
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
Sequence in context: A054842 A290389 A101440 * A072067 A072049 A281938
KEYWORD
nonn,base,easy
AUTHOR
Zak Seidov, Mar 13 2007
STATUS
approved