%I #12 Apr 28 2018 10:05:32
%S 1,4,19,77,308,1235,4941,19764,79059,316237,1264948,5059795,20239181,
%T 80956724,323826899,1295307597,5181230388,20724921555,82899686221,
%U 331598744884,1326394979539,5305579918157,21222319672628,84889278690515
%N Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,0,1,-4).
%F G.f.: x*(1+3*x^2) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 27 2015
%t Table[FromDigits[PadRight[{},n,{1,0,3}],4],{n,30}] (* _Harvey P. Dale_, Apr 28 2018 *)
%K nonn,base,easy
%O 1,2
%A _Clark Kimberling_
|