%I #9 Jul 27 2019 17:51:03
%S 3,21,149,1046,7322,51256,358795,2511565,17580957,123066702,861466914,
%T 6030268400,42211878803,295483151621,2068382061349,14478674429446,
%U 101350721006122,709455047042856,4966185329299995
%N Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (7,0,1,-7)
%F G.f.: x*(3+2*x^2) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 30 2015
%t Table[FromDigits[PadRight[{},n,{3,0,2}],7],{n,20}] (* _Harvey P. Dale_, Jul 27 2019 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_
|