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

A070695
a(n) = n^7 mod 13.
0
0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1, 11, 3, 4, 8, 7, 6, 5, 9, 10, 2, 12, 0, 1
OFFSET
0,3
MATHEMATICA
PowerMod[Range[0, 100], 7, 13] (* Harvey P. Dale, Jan 19 2016 *)
PROG
(Sage) [power_mod(n, 7, 13) for n in range(93)] # Zerinvary Lajos, Oct 28 2009
(PARI) a(n)=n^7%13 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A110089 A177415 A208091 * A070720 A010189 A338716
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved