login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A070620
a(n) = n^5 mod 37.
1
0, 1, 32, 21, 25, 17, 6, 9, 23, 34, 26, 27, 7, 35, 29, 24, 33, 19, 15, 22, 18, 4, 13, 8, 2, 30, 10, 11, 3, 14, 28, 31, 20, 12, 16, 5, 36, 0, 1, 32, 21, 25, 17, 6, 9, 23, 34, 26, 27, 7, 35, 29, 24, 33, 19, 15, 22, 18, 4, 13, 8, 2, 30, 10, 11, 3, 14, 28, 31, 20, 12, 16, 5, 36, 0, 1
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, 1).
FORMULA
a(n) = a(n-37). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 100], 5, 37] (* Vincenzo Librandi, Jun 15 2016 *)
PROG
(Sage) [power_mod(n, 5, 37)for n in range(0, 76)] # Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%37 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [Modexp(n, 5, 37): n in [0..80]]; // Vincenzo Librandi, Jun 15 2016
CROSSREFS
Sequence in context: A070628 A147514 A291155 * A070627 A028697 A105701
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved