login
A036143
a(n) = 3^n mod 127.
2
1, 3, 9, 27, 81, 116, 94, 28, 84, 125, 121, 109, 73, 92, 22, 66, 71, 86, 4, 12, 36, 108, 70, 83, 122, 112, 82, 119, 103, 55, 38, 114, 88, 10, 30, 90, 16, 48, 17, 51, 26, 78, 107, 67, 74, 95, 31, 93, 25, 75, 98, 40, 120
OFFSET
0,2
REFERENCES
I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
MAPLE
[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];
PROG
(PARI) a(n)=lift(Mod(3, 127)^n) \\ Charles R Greathouse IV, Mar 22 2016
CROSSREFS
Sequence in context: A036145 A014950 A271351 * A248960 A006521 A289257
KEYWORD
nonn,easy
AUTHOR
STATUS
approved