%I #11 Dec 18 2023 20:13:54
%S 0,1,14,9,16,11,0,13,8,9,10,5,0,7,2,9,4,17,0,1,14,9,16,11,0,13,8,9,10,
%T 5,0,7,2,9,4,17,0,1,14,9,16,11,0,13,8,9,10,5,0,7,2,9,4,17,0,1,14,9,16,
%U 11,0,13,8,9,10,5,0,7,2,9,4,17,0,1,14,9,16,11,0,13,8,9,10,5,0,7,2,9,4
%N n^5 mod 18.
%H <a href="/index/Rec#order_18">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, 1).
%o (Sage) [power_mod(n,5,18)for n in range(0, 87)] # - _Zerinvary Lajos_, Nov 04 2009
%o (PARI) a(n)=n^5%18 \\ _Charles R Greathouse IV_, Apr 06 2016
%K nonn,easy
%O 0,3
%A _N. J. A. Sloane_, May 13 2002