login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A029757
a(n) = 5^n mod 2^n.
2
0, 1, 1, 5, 1, 21, 9, 45, 225, 357, 761, 1757, 2641, 5013, 489, 18829, 28609, 11973, 59865, 37181, 185905, 929525, 2550473, 4363757, 13430177, 42021, 33764537, 34604957, 38807057, 194035285, 433305513
OFFSET
0,4
LINKS
MAPLE
a:=n->5^n mod(2^(n)): seq(a(n), n=0..33); # Zerinvary Lajos, Feb 15 2008
PROG
(PARI) A029757(n) = lift(Mod(5^n, 2^n)) \\ Michael B. Porter, Feb 02 2010
(Magma) [5^n mod 2^n: n in [0..80]]; // Vincenzo Librandi, Apr 25 2011
CROSSREFS
Sequence in context: A126325 A278544 A095368 * A146056 A101625 A051929
KEYWORD
nonn,easy
STATUS
approved