A070616 a(n) = n^5 mod 33.
0, 1, 32, 12, 1, 23, 21, 10, 32, 12, 10, 11, 12, 10, 23, 12, 1, 32, 21, 10, 23, 21, 22, 23, 21, 1, 23, 12, 10, 32, 21, 1, 32, 0, 1, 32, 12, 1, 23, 21, 10, 32, 12, 10, 11, 12, 10, 23, 12, 1, 32, 21, 10, 23, 21, 22, 23, 21, 1, 23, 12, 10, 32, 21, 1, 32, 0, 1, 32, 12, 1, 23, 21, 10
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, 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, 1).
Programs
-
Mathematica
PowerMod[Range[0,120],5,33] (* Harvey P. Dale, Mar 20 2011 *)
-
PARI
a(n)=n^5%33 \\ Charles R Greathouse IV, Apr 06 2016
-
Sage
[power_mod(n,5,33)for n in range(0, 74)] # Zerinvary Lajos, Nov 04 2009
Formula
a(n) = a(n-33). - Wesley Ivan Hurt, Dec 26 2023