login
n^5 mod 22.
0

%I #11 Dec 18 2023 20:17:39

%S 0,1,10,1,12,1,10,21,10,1,10,11,12,21,12,1,12,21,10,21,12,21,0,1,10,1,

%T 12,1,10,21,10,1,10,11,12,21,12,1,12,21,10,21,12,21,0,1,10,1,12,1,10,

%U 21,10,1,10,11,12,21,12,1,12,21,10,21,12,21,0,1,10,1,12,1,10,21,10,1

%N n^5 mod 22.

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

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

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

%K nonn,easy

%O 0,3

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