login

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

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

%I #13 Dec 26 2023 21:55:38

%S 0,1,9,3,4,5,5,4,3,9,1,0,1,9,3,4,5,5,4,3,9,1,0,1,9,3,4,5,5,4,3,9,1,0,

%T 1,9,3,4,5,5,4,3,9,1,0,1,9,3,4,5,5,4,3,9,1,0,1,9,3,4,5,5,4,3,9,1,0,1,

%U 9,3,4,5,5,4,3,9,1,0,1,9,3,4,5,5,4,3,9,1,0,1,9,3,4,5,5,4,3,9,1,0,1

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

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

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

%t PowerMod[Range[0, 100], 6, 11] (* _Wesley Ivan Hurt_, Dec 26 2023 *)

%o (Sage) [power_mod(n,6,11)for n in range(0, 101)] # _Zerinvary Lajos_, Jun 12 2009

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

%K nonn,easy

%O 0,3

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