OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
MATHEMATICA
Table[PowerMod[7, n, 2^n], {n, 0, 40}] (* Harvey P. Dale, Mar 19 2013 *)
PROG
(Magma) [7^n mod 2^n: n in [0..35]]; // Vincenzo Librandi, Jun 03 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved