login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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_