login
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