login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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