cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A036149 5^n mod 157.

This page as a plain text file.
%I A036149 #10 Jul 08 2025 21:35:58
%S A036149 1,5,25,125,154,142,82,96,9,45,68,26,130,22,110,79,81,91,141,77,71,41,
%T A036149 48,83,101,34,13,65,11,55,118,119,124,149,117,114,99,24,120,129,17,85,
%U A036149 111,84,106,59,138,62,153,137
%N A036149 5^n mod 157.
%D A036149 I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
%p A036149 [ seq(primroot(ithprime(i))^j mod ithprime(i),j=0..100) ];
%t A036149 PowerMod[5,Range[0,50],157] (* _Harvey P. Dale_, May 14 2014 *)
%o A036149 (PARI) a(n)=lift(Mod(5,157)^n) \\ _Charles R Greathouse IV_, Mar 22 2016
%K A036149 nonn,easy
%O A036149 0,2
%A A036149 _N. J. A. Sloane_