login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A070652
a(n) = n^6 mod 29.
0
0, 1, 6, 4, 7, 23, 24, 25, 13, 16, 22, 9, 28, 20, 5, 5, 20, 28, 9, 22, 16, 13, 25, 24, 23, 7, 4, 6, 1, 0, 1, 6, 4, 7, 23, 24, 25, 13, 16, 22, 9, 28, 20, 5, 5, 20, 28, 9, 22, 16, 13, 25, 24, 23, 7, 4, 6, 1, 0, 1, 6, 4, 7, 23, 24, 25, 13, 16, 22, 9, 28, 20, 5, 5, 20, 28, 9, 22, 16, 13, 25
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, 1).
FORMULA
a(n) = a(n-29). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 100], 6, 29] (* Harvey P. Dale, Mar 18 2015 *)
PROG
(Sage) [power_mod(n, 6, 29)for n in range(0, 81)] # Zerinvary Lajos, Nov 07 2009
(PARI) a(n)=n^6%29 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A303134 A118289 A075495 * A195487 A073746 A010496
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved