|
|
A036125
|
|
a(n) = 6^n mod 41.
|
|
1
|
|
|
1, 6, 36, 11, 25, 27, 39, 29, 10, 19, 32, 28, 4, 24, 21, 3, 18, 26, 33, 34, 40, 35, 5, 30, 16, 14, 2, 12, 31, 22, 9, 13, 37, 17, 20, 38, 23, 15, 8, 7, 1, 6, 36, 11, 25, 27, 39, 29, 10, 19, 32, 28, 4, 24, 21, 3, 18, 26, 33, 34
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
REFERENCES
|
I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,-1,1).
|
|
FORMULA
|
|
|
MAPLE
|
[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [Modexp(6, n, 41): n in [0..100]]; // G. C. Greubel, Oct 16 2018
(GAP) List([0..65], n->PowerMod(6, n, 41)); # Muniru A Asiru, Oct 18 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|