|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
MATHEMATICA
|
Table[PowerMod[2, n, 1000], {n, 1000}]
|
|
PROG
|
(PARI) for(i=1, 103, print(i" "(2^i)%1000)) \\ V. Raman, Sep 01 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|