login
A070580
a(n) = n^4 mod 37.
1
0, 1, 16, 7, 34, 33, 1, 33, 26, 12, 10, 26, 16, 34, 10, 9, 9, 12, 7, 7, 12, 9, 9, 10, 34, 16, 26, 10, 12, 26, 33, 1, 33, 34, 7, 16, 1, 0, 1, 16, 7, 34, 33, 1, 33, 26, 12, 10, 26, 16, 34, 10, 9, 9, 12, 7, 7, 12, 9, 9, 10, 34, 16, 26, 10, 12, 26, 33, 1, 33, 34, 7, 16, 1, 0, 1, 16, 7
OFFSET
0,3
COMMENTS
Sequence has period 37. - 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, 1).
MATHEMATICA
PowerMod[Range[0, 80], 4, 37] (* Vincenzo Librandi, May 28 2016 *)
PROG
(PARI) a(n)=n^4%37 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [n^4 mod 37: n in [0..80]]; // Vincenzo Librandi, May 28 2016
CROSSREFS
Sequence in context: A303627 A330277 A131030 * A298618 A028579 A007263
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved