%I #8 Oct 14 2015 15:57:36
%S 2,13,81,486,2918,17509,105057,630342,3782054,22692325,136153953,
%T 816923718,4901542310,29409253861,176455523169,1058733139014,
%U 6352398834086,38114393004517,228686358027105,1372118148162630
%N Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3,0.
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (6,0,0,1,-6).
%F G.f.: ( x*(2+x+3*x^2) ) / ( (x-1)*(6*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Oct 14 2015
%t nn=20;With[{c=PadRight[{},nn,{2,1,3,0}]},Table[FromDigits[Take[c,n],6],{n,nn}]] (* _Harvey P. Dale_, Jul 16 2012 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_