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”).

A138616
a(n) = 7^n mod 2^n.
2
0, 1, 1, 7, 1, 7, 17, 119, 193, 327, 753, 1175, 2081, 6375, 3665, 9271, 32129, 28295, 66993, 206807, 923361, 1220647, 2253073, 7382903, 9737281, 1052103, 40919153, 17998615, 125990305, 345061223, 804815825, 265001655, 1855011585, 4395146503, 4996221745
OFFSET
0,4
LINKS
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
Sequence in context: A256255 A131115 A151778 * A021937 A021586 A091131
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved