%I #14 Dec 19 2023 14:20:23
%S 0,1,38,27,4,5,36,43,17,9,10,11,18,22,14,0,16,8,27,19,20,36,13,32,9,
%T 25,26,18,37,29,0,31,23,27,34,35,36,28,2,9,40,41,18,7,44,0,1,38,27,4,
%U 5,36,43,17,9,10,11,18,22,14,0,16,8,27,19,20,36,13,32,9,25,26,18,37,29,0,31
%N n^7 mod 45.
%H <a href="/index/Rec#order_45">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, 0, 0, 1).
%t PowerMod[Range[0,80],7,45] (* _Harvey P. Dale_, May 08 2012 *)
%o (Sage) [power_mod(n,7,45)for n in range(0, 77)] # - _Zerinvary Lajos_, Oct 29 2009
%o (PARI) a(n)=n^7%45 \\ _Charles R Greathouse IV_, Apr 06 2016
%K nonn,easy
%O 0,3
%A _N. J. A. Sloane_, May 13 2002
|