login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A036152
a(n) = 2^n mod 173.
3
1, 2, 4, 8, 16, 32, 64, 128, 83, 166, 159, 145, 117, 61, 122, 71, 142, 111, 49, 98, 23, 46, 92, 11, 22, 44, 88, 3, 6, 12, 24, 48, 96, 19, 38, 76, 152, 131, 89, 5, 10, 20, 40, 80, 160, 147, 121, 69, 138, 103, 33, 66, 132, 91, 9, 18, 36, 72, 144, 115, 57, 114, 55, 110, 47, 94
OFFSET
0,2
REFERENCES
I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
LINKS
FORMULA
a(n) = a(n-172). - Muniru A Asiru, Jan 27 2019
MAPLE
[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];
MATHEMATICA
PowerMod[2, Range[0, 80], 173] (* Harvey P. Dale, Mar 22 2011 *)
PROG
(PARI) a(n)=lift(Mod(2, 173)^n) \\ Charles R Greathouse IV, Mar 22 2016
(GAP) a:=List([0..70], n->PowerMod(2, n, 173));; Print(a); # Muniru A Asiru, Jan 27 2019
CROSSREFS
Sequence in context: A036157 A036154 A036153 * A036150 A036147 A036146
KEYWORD
nonn,easy
STATUS
approved