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!)
A070607 a(n) = n^5 mod 23. 1

%I #24 Sep 08 2022 08:45:05

%S 0,1,9,13,12,20,2,17,16,8,19,5,18,4,15,7,6,21,3,11,10,14,22,0,1,9,13,

%T 12,20,2,17,16,8,19,5,18,4,15,7,6,21,3,11,10,14,22,0,1,9,13,12,20,2,

%U 17,16,8,19,5,18,4,15,7,6,21,3,11,10,14,22,0,1,9,13,12,20,2,17,16,8,19,5

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

%C Sequence has period 23. - _Charles R Greathouse IV_, Sep 03 2015

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

%H <a href="/index/Rec#order_23">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,1).

%t PowerMod[Range[0, 80], 5, 23] (* _Vincenzo Librandi_, May 28 2016 *)

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

%o (PARI) a(n)=(n^5)%23; \\ _Anders Hellström_, Sep 03 2015

%o (Magma) [Modexp(n, 5, 23): n in [0..80]]; // _Vincenzo Librandi_, May 28 2016 - 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:33 EDT 2024. Contains 371967 sequences. (Running on oeis4.)