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!)
A036151 5^n mod 167. 2

%I #8 Mar 22 2016 00:59:51

%S 1,5,25,125,124,119,94,136,12,60,133,164,152,92,126,129,144,52,93,131,

%T 154,102,9,45,58,123,114,69,11,55,108,39,28,140,32,160,132,159,127,

%U 134,2,10,50,83,81,71,21,105

%N 5^n mod 167.

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

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

%t PowerMod[5,Range[0,50],167] (* _Harvey P. Dale_, Dec 14 2015 *)

%o (PARI) a(n)=lift(Mod(5,167)^n) \\ _Charles R Greathouse IV_, Mar 22 2016

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_.

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 August 2 01:20 EDT 2024. Contains 374819 sequences. (Running on oeis4.)