login
A036142
3^n mod 113.
2
1, 3, 9, 27, 81, 17, 51, 40, 7, 21, 63, 76, 2, 6, 18, 54, 49, 34, 102, 80, 14, 42, 13, 39, 4, 12, 36, 108, 98, 68, 91, 47, 28, 84, 26, 78, 8, 24, 72, 103, 83, 23, 69, 94, 56, 55, 52, 43, 16, 48, 31, 93, 53, 46, 25, 75, 112
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) ];
MATHEMATICA
PowerMod[3, Range[0, 80], 113] (* Harvey P. Dale, Jul 26 2023 *)
PROG
(PARI) a(n)=lift(Mod(3, 113)^n) \\ Charles R Greathouse IV, Mar 22 2016
CROSSREFS
Sequence in context: A209239 A318773 A331631 * A036160 A271352 A329023
KEYWORD
nonn,easy
AUTHOR
STATUS
approved