A070656 a(n) = n^6 mod 33.
0, 1, 31, 3, 4, 16, 27, 4, 25, 9, 1, 22, 12, 31, 25, 15, 16, 16, 15, 25, 31, 12, 22, 1, 9, 25, 4, 27, 16, 4, 3, 31, 1, 0, 1, 31, 3, 4, 16, 27, 4, 25, 9, 1, 22, 12, 31, 25, 15, 16, 16, 15, 25, 31, 12, 22, 1, 9, 25, 4, 27, 16, 4, 3, 31, 1, 0, 1, 31, 3, 4, 16, 27, 4, 25, 9, 1, 22, 12, 31
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- 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
-
Magma
[n^6 mod 33: n in [0..80]] // Vincenzo Librandi, Aug 09 2014
-
Maple
A070656:=n->n^6 mod 33: seq(A070656(n), n=0..100); # Wesley Ivan Hurt, Aug 09 2014
-
Mathematica
PowerMod[Range[0,80],6,33] (* Harvey P. Dale, Aug 09 2014 *)
-
PARI
a(n)=n^6%33 \\ Charles R Greathouse IV, Apr 06 2016
-
Sage
[power_mod(n,6,33)for n in range(0, 80)] # Zerinvary Lajos, Nov 07 2009
Formula
a(n) = a(n-33). - Wesley Ivan Hurt, Dec 26 2023
Comments