login
A070590
a(n) = n^4 mod 47.
1
0, 1, 16, 34, 21, 14, 27, 4, 7, 28, 36, 24, 9, 32, 17, 6, 18, 2, 25, 37, 12, 42, 8, 3, 3, 8, 42, 12, 37, 25, 2, 18, 6, 17, 32, 9, 24, 36, 28, 7, 4, 27, 14, 21, 34, 16, 1, 0, 1, 16, 34, 21, 14, 27, 4, 7, 28, 36, 24, 9, 32, 17, 6, 18, 2, 25, 37, 12, 42, 8, 3, 3, 8, 42, 12, 37, 25, 2, 18, 6
OFFSET
0,3
COMMENTS
Sequence has period 47. - 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, 0, 0, 0, 0, 1).
MATHEMATICA
PowerMod[Range[0, 80], 4, 47] (* Vincenzo Librandi, May 28 2016 *)
PROG
(PARI) a(n)=n^4%47 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [n^4 mod 47: n in [0..80]]; // Vincenzo Librandi, May 28 2016
CROSSREFS
Sequence in context: A041508 A144533 A041510 * A132370 A185467 A245664
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved