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”).

A070707
n^7 mod 26.
0
0, 1, 24, 3, 4, 21, 20, 19, 18, 9, 10, 15, 12, 13, 14, 11, 16, 17, 8, 7, 6, 5, 22, 23, 2, 25, 0, 1, 24, 3, 4, 21, 20, 19, 18, 9, 10, 15, 12, 13, 14, 11, 16, 17, 8, 7, 6, 5, 22, 23, 2, 25, 0, 1, 24, 3, 4, 21, 20, 19, 18, 9, 10, 15, 12, 13, 14, 11, 16, 17, 8, 7, 6, 5, 22, 23, 2, 25, 0, 1
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, 1).
MATHEMATICA
PowerMod[Range[0, 100], 7, 26] (* Harvey P. Dale, May 22 2015 *)
PROG
(Sage) [power_mod(n, 7, 26)for n in range(0, 80)] # - Zerinvary Lajos, Oct 29 2009
(PARI) a(n)=n^7%26 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A040565 A202397 A040566 * A126653 A040567 A317324
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved