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!)
A036149 5^n mod 157. 2
1, 5, 25, 125, 154, 142, 82, 96, 9, 45, 68, 26, 130, 22, 110, 79, 81, 91, 141, 77, 71, 41, 48, 83, 101, 34, 13, 65, 11, 55, 118, 119, 124, 149, 117, 114, 99, 24, 120, 129, 17, 85, 111, 84, 106, 59, 138, 62, 153, 137 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

REFERENCES

I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.

LINKS

Table of n, a(n) for n=0..49.

MAPLE

[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];

MATHEMATICA

PowerMod[5, Range[0, 50], 157] (* Harvey P. Dale, May 14 2014 *)

PROG

(PARI) a(n)=lift(Mod(5, 157)^n) \\ Charles R Greathouse IV, Mar 22 2016

CROSSREFS

Sequence in context: A032534 A036151 A271380 * A061974 A015950 A337950

Adjacent sequences:  A036146 A036147 A036148 * A036150 A036151 A036152

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 01:36 EST 2022. Contains 350654 sequences. (Running on oeis4.)