login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

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

%S 1,7,49,344,2408,16856,117993,825951,5781657,40471600,283301200,

%T 1983108400,13881758801,97172311607,680206181249,4761443268744,

%U 33330102881208,233310720168456,1633175041179193,11432225288254351,80025577017780457,560179039124463200,3921253273871242400

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

%H Colin Barker, <a href="/A033143/b033143.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 (7,0,1,-7).

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

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

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

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_