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”).

A070725
n^7 mod 45.
0
0, 1, 38, 27, 4, 5, 36, 43, 17, 9, 10, 11, 18, 22, 14, 0, 16, 8, 27, 19, 20, 36, 13, 32, 9, 25, 26, 18, 37, 29, 0, 31, 23, 27, 34, 35, 36, 28, 2, 9, 40, 41, 18, 7, 44, 0, 1, 38, 27, 4, 5, 36, 43, 17, 9, 10, 11, 18, 22, 14, 0, 16, 8, 27, 19, 20, 36, 13, 32, 9, 25, 26, 18, 37, 29, 0, 31
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, 0, 0, 0, 1).
MATHEMATICA
PowerMod[Range[0, 80], 7, 45] (* Harvey P. Dale, May 08 2012 *)
PROG
(Sage) [power_mod(n, 7, 45)for n in range(0, 77)] # - Zerinvary Lajos, Oct 29 2009
(PARI) a(n)=n^7%45 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A033974 A143721 A333850 * A249280 A022994 A023480
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved