

A070717


a(n) = n^7 mod 36.


1



0, 1, 20, 27, 4, 5, 0, 7, 8, 9, 28, 11, 0, 13, 32, 27, 16, 17, 0, 19, 20, 9, 4, 23, 0, 25, 8, 27, 28, 29, 0, 31, 32, 9, 16, 35, 0, 1, 20, 27, 4, 5, 0, 7, 8, 9, 28, 11, 0, 13, 32, 27, 16, 17, 0, 19, 20, 9, 4, 23, 0, 25, 8, 27, 28, 29, 0, 31, 32, 9, 16, 35, 0, 1, 20, 27, 4, 5, 0, 7, 8, 9, 28
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000


MATHEMATICA

PowerMod[Range[0, 90], 7, 36] (* or *) PadRight[{}, 90, {0, 1, 20, 27, 4, 5, 0, 7, 8, 9, 28, 11, 0, 13, 32, 27, 16, 17, 0, 19, 20, 9, 4, 23, 0, 25, 8, 27, 28, 29, 0, 31, 32, 9, 16, 35}] (* Harvey P. Dale, May 24 2017 *)


PROG

(Sage) [power_mod(n, 7, 36)for n in range(0, 83)] #  Zerinvary Lajos, Oct 29 2009
(PARI) a(n)=n^7%36 \\ Charles R Greathouse IV, Apr 06 2016
(MAGMA) [Modexp(n, 7, 36): n in [0..80]]; // Vincenzo Librandi, May 25 2017


CROSSREFS

Sequence in context: A219805 A219456 A248787 * A114813 A069827 A194674
Adjacent sequences: A070714 A070715 A070716 * A070718 A070719 A070720


KEYWORD

nonn,easy


AUTHOR

N. J. A. Sloane, May 13 2002


STATUS

approved



