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!)
A070623 n^5 mod 40. 0

%I

%S 0,1,32,3,24,5,16,7,8,9,0,11,32,13,24,15,16,17,8,19,0,21,32,23,24,25,

%T 16,27,8,29,0,31,32,33,24,35,16,37,8,39,0,1,32,3,24,5,16,7,8,9,0,11,

%U 32,13,24,15,16,17,8,19,0,21,32,23,24,25,16,27,8,29,0,31,32,33,24,35,16

%N n^5 mod 40.

%t PowerMod[Range[0,80],5,40] (* _Harvey P. Dale_, Aug 25 2014 *)

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

%o (PARI) a(n)=n^5%40 \\ _Charles R Greathouse IV_, Apr 06 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 15 21:38 EDT 2021. Contains 348034 sequences. (Running on oeis4.)