%I #13 Dec 19 2023 14:17:44
%S 0,1,42,37,1,37,6,7,42,36,6,1,37,36,36,36,1,36,7,37,37,1,42,6,6,36,7,
%T 42,7,7,7,6,42,37,7,1,36,37,6,42,6,1,42,0,1,42,37,1,37,6,7,42,36,6,1,
%U 37,36,36,36,1,36,7,37,37,1,42,6,6,36,7,42,7,7,7,6,42,37,7,1,36,37,6
%N n^7 mod 43.
%H <a href="/index/Rec#order_43">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, 1).
%t PowerMod[Range[0,90],7,43] (* _Harvey P. Dale_, Dec 24 2014 *)
%o (Sage) [power_mod(n,7,43)for n in range(0, 82)] # - _Zerinvary Lajos_, Oct 29 2009
%o (PARI) a(n)=n^7%43 \\ _Charles R Greathouse IV_, Apr 06 2016
%K nonn,easy
%O 0,3
%A _N. J. A. Sloane_, May 13 2002