
0, 1, 32, 9, 10, 5, 15, 37, 8, 3, 4, 20, 12, 13, 14, 6, 22, 23, 18, 28, 11, 21, 16, 17, 33, 25, 26, 27, 19, 35, 36, 31, 2, 24, 34, 29, 30, 7, 38, 0, 1, 32, 9, 10, 5, 15, 37, 8, 3, 4, 20, 12, 13, 14, 6, 22, 23, 18, 28, 11, 21, 16, 17, 33, 25, 26, 27, 19, 35, 36, 31, 2, 24, 34, 29, 30
(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, 100], 5, 39] (* Vincenzo Librandi, Jun 15 2016 *)


PROG

(Sage) [power_mod(n, 5, 39)for n in range(0, 76)] #  Zerinvary Lajos, Nov 04 2009
(PARI) a(n)=n^5%39 \\ Charles R Greathouse IV, Apr 06 2016
(MAGMA) [Modexp(n, 5, 39): n in [0..80]]; // Vincenzo Librandi, Jun 15 2016


CROSSREFS

Sequence in context: A119362 A070630 A193354 * A213656 A302216 A302464
Adjacent sequences: A070619 A070620 A070621 * A070623 A070624 A070625


KEYWORD

nonn,easy


AUTHOR

N. J. A. Sloane, May 13 2002


STATUS

approved

