login
A070611
n^5 mod 27.
0
0, 1, 5, 0, 25, 20, 0, 13, 17, 0, 19, 23, 0, 16, 11, 0, 4, 8, 0, 10, 14, 0, 7, 2, 0, 22, 26, 0, 1, 5, 0, 25, 20, 0, 13, 17, 0, 19, 23, 0, 16, 11, 0, 4, 8, 0, 10, 14, 0, 7, 2, 0, 22, 26, 0, 1, 5, 0, 25, 20, 0, 13, 17, 0, 19, 23, 0, 16, 11, 0, 4, 8, 0, 10, 14, 0, 7, 2, 0, 22, 26, 0, 1, 5, 0, 25
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, 1).
PROG
(SageMath) [power_mod(n, 5, 27)for n in range(0, 86)] # - Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%27 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A316464 A167315 A167362 * A047769 A279501 A279548
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved