login
A070686
n^6 mod 46.
0
0, 1, 18, 39, 2, 31, 12, 27, 36, 3, 6, 9, 32, 29, 26, 13, 4, 35, 8, 25, 16, 41, 24, 23, 24, 41, 16, 25, 8, 35, 4, 13, 26, 29, 32, 9, 6, 3, 36, 27, 12, 31, 2, 39, 18, 1, 0, 1, 18, 39, 2, 31, 12, 27, 36, 3, 6, 9, 32, 29, 26, 13, 4, 35, 8, 25, 16, 41, 24, 23, 24, 41, 16, 25, 8, 35, 4
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,0,1).
FORMULA
a(n) = a(n-46) for n > 45. - Chai Wah Wu, Sep 02 2020
MATHEMATICA
PowerMod[Range[0, 120], 6, 46] (* Harvey P. Dale, Apr 23 2011 *)
PROG
(PARI) a(n)=n^6%46 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A132761 A079862 A106521 * A043118 A039295 A043898
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved