%I #11 Sep 02 2020 22:37:41
%S 0,1,18,39,2,31,12,27,36,3,6,9,32,29,26,13,4,35,8,25,16,41,24,23,24,
%T 41,16,25,8,35,4,13,26,29,32,9,6,3,36,27,12,31,2,39,18,1,0,1,18,39,2,
%U 31,12,27,36,3,6,9,32,29,26,13,4,35,8,25,16,41,24,23,24,41,16,25,8,35,4
%N n^6 mod 46.
%H <a href="/index/Rec#order_46">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,0,1).
%F a(n) = a(n-46) for n > 45. - _Chai Wah Wu_, Sep 02 2020
%t PowerMod[Range[0,120],6,46] (* _Harvey P. Dale_, Apr 23 2011 *)
%o (PARI) a(n)=n^6%46 \\ _Charles R Greathouse IV_, Apr 06 2016
%K nonn,easy
%O 0,3
%A _N. J. A. Sloane_, May 13 2002
|