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
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Nov 05 2009
STATUS
approved