|
|
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
|
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, 0, 0, 0, 0, 0, 0, 0, 0, 1).
|
|
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
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|