login
A070628
a(n) = n^5 mod 45.
0
0, 1, 32, 18, 34, 20, 36, 22, 8, 9, 10, 41, 27, 43, 29, 0, 31, 17, 18, 19, 5, 36, 7, 38, 9, 40, 26, 27, 28, 14, 0, 16, 2, 18, 4, 35, 36, 37, 23, 9, 25, 11, 27, 13, 44, 0, 1, 32, 18, 34, 20, 36, 22, 8, 9, 10, 41, 27, 43, 29, 0, 31, 17, 18, 19, 5, 36, 7, 38, 9, 40, 26, 27, 28, 14, 0
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, 1).
FORMULA
a(n) = a(n-44). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 80], 5, 45] (* Harvey P. Dale, Aug 13 2023 *)
PROG
(Sage) [power_mod(n, 5, 45)for n in range(0, 76)] # Zerinvary Lajos, Nov 05 2009
(PARI) a(n)=n^5%45 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A140387 A023094 A087502 * A147514 A291155 A070620
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved