login

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

A070701
a(n) = n^7 mod 19.
1
0, 1, 14, 2, 6, 16, 9, 7, 8, 4, 15, 11, 12, 10, 3, 13, 17, 5, 18, 0, 1, 14, 2, 6, 16, 9, 7, 8, 4, 15, 11, 12, 10, 3, 13, 17, 5, 18, 0, 1, 14, 2, 6, 16, 9, 7, 8, 4, 15, 11, 12, 10, 3, 13, 17, 5, 18, 0, 1, 14, 2, 6, 16, 9, 7, 8, 4, 15, 11, 12, 10, 3, 13, 17, 5, 18, 0, 1, 14, 2, 6, 16, 9, 7, 8
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, 1).
MATHEMATICA
PowerMod[Range[0, 100], 7, 19] (* Vincenzo Librandi, Jun 17 2016 *)
PROG
(Sage) [power_mod(n, 7, 19) for n in range(85)] # Zerinvary Lajos, Oct 28 2009
(PARI) a(n)=n^7%19 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [Modexp(n, 7, 19): n in [0..80]]; // Vincenzo Librandi, Jun 17 2016
CROSSREFS
Sequence in context: A064432 A040194 A107834 * A067740 A037923 A040195
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved