login
A070612
n^5 mod 28.
0
0, 1, 4, 19, 16, 17, 20, 7, 8, 25, 12, 23, 24, 13, 0, 15, 4, 5, 16, 3, 20, 21, 8, 11, 12, 9, 24, 27, 0, 1, 4, 19, 16, 17, 20, 7, 8, 25, 12, 23, 24, 13, 0, 15, 4, 5, 16, 3, 20, 21, 8, 11, 12, 9, 24, 27, 0, 1, 4, 19, 16, 17, 20, 7, 8, 25, 12, 23, 24, 13, 0, 15, 4, 5, 16, 3, 20, 21, 8, 11
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, 1).
MATHEMATICA
PowerMod[Range[0, 100], 5, 28] (* Harvey P. Dale, Feb 04 2015 *)
PROG
(Sage) [power_mod(n, 5, 28)for n in range(0, 80)] # - Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%28 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A009267 A009275 A362249 * A165820 A043056 A012879
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved