%I #11 Jun 13 2015 00:49:18
%S 3,22,154,1080,7563,52942,370594,2594160,18159123,127113862,889797034,
%T 6228579240,43600054683,305200382782,2136402679474,14954818756320,
%U 104683731294243,732786119059702,5129502833417914
%N Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2.
%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*(3-2*x+2*x^2) / ( (x-1)*(7*x-1)*(x^2+1) ). - _R. J. Mathar_, May 02 2015
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_
|