login
A070656
a(n) = n^6 mod 33.
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, 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,3
COMMENTS
Periodic with a period of 33. - Harvey P. Dale, Aug 09 2014
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).
FORMULA
a(n) = a(n-33). - Wesley Ivan Hurt, Dec 26 2023
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 *)
PROG
(Sage) [power_mod(n, 6, 33)for n in range(0, 80)] # Zerinvary Lajos, Nov 07 2009
(Magma) [n^6 mod 33: n in [0..80]] // Vincenzo Librandi, Aug 09 2014
(PARI) a(n)=n^6%33 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved