%I #20 Oct 06 2024 09:12:37
%S 3,4,0,8,6,3,3,7,0,2,6,6,3,1,0,5,6,0,3,4,0,8,6,3,3,7,0,2,6,6,3,1,0,5,
%T 6,0,3,4,0,8,6,3,3,7,0,2,6,6,3,1,0,5,6,0,3,4,0,8,6,3,3,7,0,2,6,6,3,1,
%U 0,5,6,0,3,4,0,8,6,3,3,7,0,2,6,6,3,1,0,5,6,0,3,4,0,8,6,3,3,7,0,2,6,6,3,1
%N Period 18: repeat 3, 4, 0, 8, 6, 3, 3, 7, 0, 2, 6, 6, 3, 1, 0, 5, 6, 0.
%C Also the decimal expansion of 378737078073678400/111111111111111111 .
%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).
%F a(n) = A106833(n) mod 9.
%F G.f.: -(3+4*x+8*x^3+6*x^4+3*x^5+3*x^6+7*x^7+2*x^9+6*x^10+6*x^11+3*x^12+x^13+5*x^15+6*x^16) / ((x-1) * (1+x+x^2) * (1+x^3+x^6) * (1+x) * (1-x+x^2) * (1-x^3+x^6)).
%o (PARI) a(n)=[0, 3, 4, 0, 8, 6, 3, 3, 7, 0, 2, 6, 6, 3, 1, 0, 5, 6][n%18+1] \\ _Charles R Greathouse IV_, Jul 17 2016
%K nonn,easy,less
%O 1,1
%A _Paul Curtz_, Mar 24 2009
%E References to apparently unrelated sequences removed by _R. J. Mathar_, Mar 02 2010