%I #13 May 04 2021 14:30:56
%S 3,23,162,1134,7941,55589,389124,2723868,19067079,133469555,934286886,
%T 6540008202,45780057417,320460401921,2243222813448,15702559694136,
%U 109917917858955,769425425012687,5385977975088810
%N Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,1,0.
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (7,0,0,1,-7).
%F a(n) = 7*a(n-1) + a(n-4) - 7*a(n-5).
%F G.f.: x*(3+2*x+x^2) / ( (x-1)*(7*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Apr 30 2015
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_