login
A070586
a(n) = n^4 mod 43.
1
0, 1, 16, 38, 41, 23, 6, 36, 11, 25, 24, 21, 10, 9, 17, 14, 4, 15, 13, 31, 40, 35, 35, 40, 31, 13, 15, 4, 14, 17, 9, 10, 21, 24, 25, 11, 36, 6, 23, 41, 38, 16, 1, 0, 1, 16, 38, 41, 23, 6, 36, 11, 25, 24, 21, 10, 9, 17, 14, 4, 15, 13, 31, 40, 35, 35, 40, 31, 13, 15, 4, 14, 17, 9
OFFSET
0,3
COMMENTS
Sequence has period 43. - Vincenzo Librandi, May 28 2016
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
PowerMod[Range[0, 80], 4, 43] (* Vincenzo Librandi, May 28 2016 *)
PROG
(PARI) a(n)=n^4%43 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [n^4 mod 43: n in [0..80]]; // Vincenzo Librandi, May 28 2016
CROSSREFS
Sequence in context: A354473 A275186 A224745 * A166112 A224738 A304014
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved