login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036157 a(n) = 2^n mod 197. 3
1, 2, 4, 8, 16, 32, 64, 128, 59, 118, 39, 78, 156, 115, 33, 66, 132, 67, 134, 71, 142, 87, 174, 151, 105, 13, 26, 52, 104, 11, 22, 44, 88, 176, 155, 113, 29, 58, 116, 35, 70, 140, 83, 166, 135, 73, 146, 95, 190, 183 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
REFERENCES
I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
LINKS
FORMULA
a(n) = a(n-196). - Muniru A Asiru, Jan 27 2019
MAPLE
[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];
MATHEMATICA
Table[PowerMod[2, n, 197], {n, 0, 50}] (* Harvey P. Dale, Jan 11 2011 *)
PROG
(PARI) a(n)=lift(Mod(2, 197)^n) \\ Charles R Greathouse IV, Mar 22 2016
(GAP) a:=List([0..70], n->PowerMod(2, n, 197));; Print(a); # Muniru A Asiru, Jan 26 2019
CROSSREFS
Sequence in context: A016025 A036161 A036159 * A036154 A036153 A036152
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 19:26 EDT 2024. Contains 372341 sequences. (Running on oeis4.)