%I #10 Jun 13 2015 00:49:18
%S 3,14,56,225,903,3614,14456,57825,231303,925214,3700856,14803425,
%T 59213703,236854814,947419256,3789677025,15158708103,60634832414,
%U 242539329656,970157318625,3880629274503,15522517098014,62090068392056
%N Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0,1.
%H Harvey P. Dale, <a href="/A037786/b037786.txt">Table of n, a(n) for n = 1..1000</a>
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (5,-5,5,-4).
%F G.f.: x*(3-x+x^2) / ( (x-1)*(4*x-1)*(x^2+1) ). - _R. J. Mathar_, May 01 2015
%t nn=30;With[{c=PadRight[{},nn,{3,2,0,1}]},Table[FromDigits[Take[c,n],4],{n,nn}]] (* _Harvey P. Dale_, Dec 14 2012 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_