login
A070627
a(n) = n^5 mod 44.
0
0, 1, 32, 23, 12, 1, 32, 43, 32, 1, 32, 11, 12, 21, 12, 23, 12, 21, 32, 43, 12, 21, 0, 23, 32, 1, 12, 23, 32, 21, 32, 23, 32, 33, 12, 43, 12, 1, 12, 43, 32, 21, 12, 43, 0, 1, 32, 23, 12, 1, 32, 43, 32, 1, 32, 11, 12, 21, 12, 23, 12, 21, 32, 43, 12, 21, 0, 23, 32, 1, 12, 23, 32, 21
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, 100], 5, 44] (* or *) PadRight[{}, 100, {0, 1, 32, 23, 12, 1, 32, 43, 32, 1, 32, 11, 12, 21, 12, 23, 12, 21, 32, 43, 12, 21, 0, 23, 32, 1, 12, 23, 32, 21, 32, 23, 32, 33, 12, 43, 12, 1, 12, 43, 32, 21, 12, 43}] (* Harvey P. Dale, Jun 02 2019 *)
PROG
(Sage) [power_mod(n, 5, 44)for n in range(0, 74)] # Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%44 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A147514 A291155 A070620 * A028697 A105701 A161885
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved