A036153 a(n) = 2^n mod 179.
1, 2, 4, 8, 16, 32, 64, 128, 77, 154, 129, 79, 158, 137, 95, 11, 22, 44, 88, 176, 173, 167, 155, 131, 83, 166, 153, 127, 75, 150, 121, 63, 126, 73, 146, 113, 47, 94, 9, 18, 36, 72, 144, 109, 39, 78, 156, 133, 87, 174
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,179));; Print(a); # Muniru A Asiru, Jan 27 2019
-
Maple
[ seq(primroot(ithprime(i))^j mod ithprime(i),j=0..100) ];
-
Mathematica
PowerMod[2,Range[0,90],179] (* Harvey P. Dale, Jul 31 2018 *)
-
PARI
a(n)=lift(Mod(2,179)^n) \\ Charles R Greathouse IV, Mar 22 2016
Formula
a(n) = a(n-178). - Muniru A Asiru, Jan 27 2019