login

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

A070584
a(n) = n^4 mod 41.
0
0, 1, 16, 40, 10, 10, 25, 23, 37, 1, 37, 4, 31, 25, 40, 31, 18, 4, 16, 23, 18, 18, 23, 16, 4, 18, 31, 40, 25, 31, 4, 37, 1, 37, 23, 25, 10, 10, 40, 16, 1, 0, 1, 16, 40, 10, 10, 25, 23, 37, 1, 37, 4, 31, 25, 40, 31, 18, 4, 16, 23, 18, 18, 23, 16, 4, 18, 31, 40, 25, 31, 4, 37, 1, 37
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
PowerMod[Range[0, 80], 4, 41] (* Harvey P. Dale, Nov 01 2011 *)
PROG
(PARI) a(n)=n^4%41 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A305362 A197603 A144448 * A205072 A185798 A253698
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved