login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = n^6 mod 41.
0

%I #15 Dec 26 2023 19:56:11

%S 0,1,23,32,37,4,39,20,31,40,10,33,36,2,9,5,16,8,18,21,25,25,21,18,8,

%T 16,5,9,2,36,33,10,40,31,20,39,4,37,32,23,1,0,1,23,32,37,4,39,20,31,

%U 40,10,33,36,2,9,5,16,8,18,21,25,25,21,18,8,16,5,9,2,36,33,10,40,31,20,39,4

%N a(n) = n^6 mod 41.

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

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

%t PowerMod[Range[0,80],6,41] (* _Harvey P. Dale_, Feb 14 2016 *)

%o (Sage) [power_mod(n,6,41)for n in range(0, 78)] # - _Zerinvary Lajos_, Nov 07 2009

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

%K nonn,easy

%O 0,3

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