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

%I #11 Jun 13 2015 00:49:17

%S 1,7,51,360,2521,17647,123531,864720,6053041,42371287,296599011,

%T 2076193080,14533351561,101733460927,712134226491,4984939585440,

%U 34894577098081,244262039686567,1709834277805971

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

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (8,-8,8,-7).

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

%F G.f.: ( x*(1-x+3*x^2) ) / ( (x-1)*(7*x-1)*(x^2+1) ). - _R. J. Mathar_, May 04 2015

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_