login
A070629
a(n) = n^5 mod 46.
0
0, 1, 32, 13, 12, 43, 2, 17, 16, 31, 42, 5, 18, 27, 38, 7, 6, 21, 26, 11, 10, 37, 22, 23, 24, 9, 36, 35, 20, 25, 40, 39, 8, 19, 28, 41, 4, 15, 30, 29, 44, 3, 34, 33, 14, 45, 0, 1, 32, 13, 12, 43, 2, 17, 16, 31, 42, 5, 18, 27, 38, 7, 6, 21, 26, 11, 10, 37, 22, 23, 24, 9, 36, 35, 20
OFFSET
0,3
COMMENTS
Periodic, with period 46. - Harvey P. Dale, Nov 23 2014
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, 0, 1).
FORMULA
a(n) = a(n-46). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 80], 5, 46] (* Harvey P. Dale, Nov 23 2014 *)
PROG
(Sage) [power_mod(n, 5, 46)for n in range(0, 75)] # Zerinvary Lajos, Nov 05 2009
(PARI) a(n)=n^5%46 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A303628 A070616 A079809 * A304228 A305038 A305584
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved