A036159 a(n) = 2^n mod 211.
1, 2, 4, 8, 16, 32, 64, 128, 45, 90, 180, 149, 87, 174, 137, 63, 126, 41, 82, 164, 117, 23, 46, 92, 184, 157, 103, 206, 201, 191, 171, 131, 51, 102, 204, 197, 183, 155, 99, 198, 185, 159, 107, 3, 6, 12, 24, 48, 96
Offset: 0
References
- I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
Links
- Muniru A Asiru, Table of n, a(n) for n = 0..1000
Programs
-
GAP
a:=List([0..70],n->PowerMod(2,n,211));; Print(a); # Muniru A Asiru, Jan 26 2019
-
Maple
[ seq(primroot(ithprime(i))^j mod ithprime(i),j=0..100) ];
-
Mathematica
PowerMod[2,Range[0,50],211] (* Harvey P. Dale, Apr 18 2016 *)
-
PARI
a(n)=lift(Mod(2,211)^n) \\ Charles R Greathouse IV, Mar 22 2016
Formula
a(n) = a(n-210). - Muniru A Asiru, Jan 27 2019