[go: up one dir, main page]

login
A167528
a(n) = n^5 mod 50.
0
0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7, 18, 49, 0, 1, 32, 43, 24, 25, 26, 7
OFFSET
0,3
COMMENTS
Cyclical with period = 10. - Harvey P. Dale, Aug 21 2016
MATHEMATICA
PowerMod[Range[0, 100], 5, 50] (* G. C. Greubel, Jun 14 2016 *)
PadRight[{}, 120, {0, 1, 32, 43, 24, 25, 26, 7, 18, 49}] (* Harvey P. Dale, Aug 21 2016 *)
PROG
(Sage) [power_mod(n, 5, 50)for n in range(0, 80)]
(PARI) a(n)=n^5%50 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [Modexp(n, 5, 50): n in [0..80]]; // Vincenzo Librandi, Jun 15 2016
CROSSREFS
Sequence in context: A303044 A302881 A303529 * A269230 A229115 A035112
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Nov 05 2009
STATUS
approved