%I #16 Sep 08 2022 08:45:48
%S 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,
%T 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,
%U 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
%N a(n) = n^5 mod 50.
%C Cyclical with period = 10. - _Harvey P. Dale_, Aug 21 2016
%t PowerMod[Range[0, 100], 5, 50] (* _G. C. Greubel_, Jun 14 2016 *)
%t PadRight[{},120,{0,1,32,43,24,25,26,7,18,49}] (* _Harvey P. Dale_, Aug 21 2016 *)
%o (Sage) [power_mod(n,5,50)for n in range(0, 80)]
%o (PARI) a(n)=n^5%50 \\ _Charles R Greathouse IV_, Apr 06 2016
%o (Magma) [Modexp(n, 5, 50): n in [0..80]]; // _Vincenzo Librandi_, Jun 15 2016
%K nonn,easy
%O 0,3
%A _Zerinvary Lajos_, Nov 05 2009