login
A070585
a(n) = n^4 mod 42.
0
0, 1, 16, 39, 4, 37, 36, 7, 22, 9, 4, 25, 30, 1, 28, 15, 16, 25, 18, 37, 22, 21, 22, 37, 18, 25, 16, 15, 28, 1, 30, 25, 4, 9, 22, 7, 36, 37, 4, 39, 16, 1, 0, 1, 16, 39, 4, 37, 36, 7, 22, 9, 4, 25, 30, 1, 28, 15, 16, 25, 18, 37, 22, 21, 22, 37, 18, 25, 16, 15, 28, 1, 30, 25, 4, 9, 22
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, 0, 1).
PROG
(PARI) a(n)=n^4%42 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A122030 A122029 A218900 * A253435 A253159 A308311
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved