The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A036158 3^n mod 199. 2
1, 3, 9, 27, 81, 44, 132, 197, 193, 181, 145, 37, 111, 134, 4, 12, 36, 108, 125, 176, 130, 191, 175, 127, 182, 148, 46, 138, 16, 48, 144, 34, 102, 107, 122, 167, 103, 110, 131, 194, 184, 154, 64, 192, 178, 136 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Periodic, with period = 198. - Harvey P. Dale, Jul 20 2016
REFERENCES
I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
LINKS
MAPLE
[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];
MATHEMATICA
PowerMod[3, Range[0, 50], 199] (* Harvey P. Dale, Jul 20 2016 *)
PROG
(PARI) a(n)=lift(Mod(3, 199)^n) \\ Charles R Greathouse IV, Mar 22 2016
CROSSREFS
Sequence in context: A271352 A329023 A001218 * A036136 A271350 A057262
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 13 21:51 EDT 2024. Contains 372523 sequences. (Running on oeis4.)