Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #14 Oct 21 2020 11:24:44
%S 3,13,52,210,843,3373,13492,53970,215883,863533,3454132,13816530,
%T 55266123,221064493,884257972,3537031890,14148127563,56592510253,
%U 226370041012,905480164050,3621920656203,14487682624813,57950730499252
%N Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2.
%H Jonathan Frech, <a href="/A037772/b037772.txt">Table of n, a(n) for n = 1..1661</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-2*x+2*x^2) / ( (x-1)*(4*x-1)*(x^2+1) ). - _R. J. Mathar_, May 02 2015
%t Table[FromDigits[PadRight[{},n,{3,1,0,2}],4],{n,30}] (* or *) LinearRecurrence[{5,-5,5,-4},{3,13,52,210},30] (* _Harvey P. Dale_, Dec 31 2016 *)
%Y Cf. A007090 (numbers in base 4).
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_