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!)
A070628 a(n) = n^5 mod 45. 0

%I #15 Dec 26 2023 22:02:57

%S 0,1,32,18,34,20,36,22,8,9,10,41,27,43,29,0,31,17,18,19,5,36,7,38,9,

%T 40,26,27,28,14,0,16,2,18,4,35,36,37,23,9,25,11,27,13,44,0,1,32,18,34,

%U 20,36,22,8,9,10,41,27,43,29,0,31,17,18,19,5,36,7,38,9,40,26,27,28,14,0

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

%H <a href="/index/Rec#order_44">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).

%F a(n) = a(n-44). - _Wesley Ivan Hurt_, Dec 26 2023

%t PowerMod[Range[0,80],5,45] (* _Harvey P. Dale_, Aug 13 2023 *)

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

%o (PARI) a(n)=n^5%45 \\ _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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)