login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070621 a(n) = n^5 mod 38. 1

%I

%S 0,1,32,15,36,9,24,11,12,35,22,7,8,33,10,21,4,25,18,19,20,13,34,17,28,

%T 5,30,31,16,3,26,27,14,29,2,23,6,37,0,1,32,15,36,9,24,11,12,35,22,7,8,

%U 33,10,21,4,25,18,19,20,13,34,17,28,5,30,31,16,3,26,27,14,29,2,23,6,37

%N a(n) = n^5 mod 38.

%H Vincenzo Librandi, <a href="/A070621/b070621.txt">Table of n, a(n) for n = 0..1000</a>

%t PowerMod[Range[0, 100], 5, 38] (* _Vincenzo Librandi_, Jun 15 2016 *)

%o (Sage) [power_mod(n,5,38)for n in range(0, 76)] # - _Zerinvary Lajos_, Nov 04 2009

%o (PARI) a(n)=n^5%38 \\ _Charles R Greathouse IV_, Apr 06 2016

%o (MAGMA) [Modexp(n, 5, 38): n in [0..80]]; // _Vincenzo Librandi_, Jun 15 2016

%K nonn,easy

%O 0,3

%A _N. J. A. Sloane_, May 13 2002

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 October 16 04:54 EDT 2021. Contains 348035 sequences. (Running on oeis4.)