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