%I #16 Dec 26 2023 22:18:09
%S 0,1,32,5,4,31,24,11,26,25,6,27,20,13,12,19,16,17,18,15,22,21,14,7,28,
%T 9,8,23,10,3,30,29,2,33,0,1,32,5,4,31,24,11,26,25,6,27,20,13,12,19,16,
%U 17,18,15,22,21,14,7,28,9,8,23,10,3,30,29,2,33,0,1,32,5,4,31,24,11,26
%N a(n) = n^5 mod 34.
%H <a href="/index/Rec#order_34">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
%F a(n) = a(n-34). - _Wesley Ivan Hurt_, Dec 26 2023
%t PowerMod[Range[0,80],5,34] (* _Harvey P. Dale_, Apr 22 2012 *)
%o (Sage) [power_mod(n,5,34)for n in range(0, 77)] # _Zerinvary Lajos_, Nov 04 2009
%o (PARI) a(n)=n^5%34 \\ _Charles R Greathouse IV_, Apr 06 2016
%K nonn,easy
%O 0,3
%A _N. J. A. Sloane_, May 13 2002
|