login
Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0.
1

%I #12 Dec 24 2015 13:39:39

%S 1,7,42,253,1519,9114,54685,328111,1968666,11811997,70871983,

%T 425231898,2551391389,15308348335,91850090010,551100540061,

%U 3306603240367,19839619442202,119037716653213,714226299919279,4285357799515674,25712146797094045,154272880782564271

%N Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0.

%H Colin Barker, <a href="/A033133/b033133.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (6,0,1,-6).

%F a(n) = 6*a(n-1) + a(n-3) - 6*a(n-4).

%F G.f.: x*(1+x) / ((1-x)*(1-6*x)*(1+x+x^2)). - _Colin Barker_, Dec 24 2015

%o (PARI) Vec(x*(1+x)/((1-x)*(1-6*x)*(1+x+x^2)) + O(x^30)) \\ _Colin Barker_, Dec 24 2015

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_