login
A070718
n^7 mod 37.
0
0, 1, 17, 4, 30, 18, 31, 34, 29, 16, 10, 11, 9, 32, 23, 35, 12, 15, 13, 24, 22, 25, 2, 14, 5, 28, 26, 27, 21, 8, 3, 6, 19, 7, 33, 20, 36, 0, 1, 17, 4, 30, 18, 31, 34, 29, 16, 10, 11, 9, 32, 23, 35, 12, 15, 13, 24, 22, 25, 2, 14, 5, 28, 26, 27, 21, 8, 3, 6, 19, 7, 33, 20, 36, 0, 1, 17
OFFSET
0,3
COMMENTS
Periodic with period = 37. - Harvey P. Dale, Aug 17 2022
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], 7, 37] (* Harvey P. Dale, Aug 17 2022 *)
PROG
(Sage) [power_mod(n, 7, 37)for n in range(0, 77)] # - Zerinvary Lajos, Oct 29 2009
(PARI) a(n)=n^7%37 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A040278 A254326 A040279 * A040277 A367356 A196924
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved