login
A070617
a(n) = n^5 mod 34.
0
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, 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, 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
OFFSET
0,3
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, 0, 1).
FORMULA
a(n) = a(n-34). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 80], 5, 34] (* Harvey P. Dale, Apr 22 2012 *)
PROG
(Sage) [power_mod(n, 5, 34)for n in range(0, 77)] # Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%34 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A303322 A126654 A058382 * A298922 A198065 A298060
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved