login
A070604
n^5 mod 20.
0
0, 1, 12, 3, 4, 5, 16, 7, 8, 9, 0, 11, 12, 13, 4, 15, 16, 17, 8, 19, 0, 1, 12, 3, 4, 5, 16, 7, 8, 9, 0, 11, 12, 13, 4, 15, 16, 17, 8, 19, 0, 1, 12, 3, 4, 5, 16, 7, 8, 9, 0, 11, 12, 13, 4, 15, 16, 17, 8, 19, 0, 1, 12, 3, 4, 5, 16, 7, 8, 9, 0, 11, 12, 13, 4, 15, 16, 17, 8, 19, 0, 1, 12, 3, 4, 5
OFFSET
0,3
COMMENTS
Equivalently n^9 mod 20. - Zerinvary Lajos, Nov 03 2009
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, 1).
PROG
(Sage) [power_mod(n, 5, 20)for n in range(0, 86)] # - Zerinvary Lajos, Nov 03 2009
(PARI) a(n)=n^5%20 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A010203 A129197 A098067 * A268592 A127146 A306536
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved