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!)
A036143 a(n) = 3^n mod 127. 2

%I #8 Jan 18 2022 00:43:09

%S 1,3,9,27,81,116,94,28,84,125,121,109,73,92,22,66,71,86,4,12,36,108,

%T 70,83,122,112,82,119,103,55,38,114,88,10,30,90,16,48,17,51,26,78,107,

%U 67,74,95,31,93,25,75,98,40,120

%N a(n) = 3^n mod 127.

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

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

%o (PARI) a(n)=lift(Mod(3,127)^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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)