Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #16 Jun 13 2015 00:49:17
%S 3,12,49,199,796,3185,12743,50972,203889,815559,3262236,13048945,
%T 52195783,208783132,835132529,3340530119,13362120476,53448481905,
%U 213793927623,855175710492,3420702841969,13682811367879,54731245471516
%N Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1.
%H Vincenzo Librandi, <a href="/A037646/b037646.txt">Table of n, a(n) for n = 1..500</a>
%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*(3+x^2) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 29 2015
%t With[{c=PadRight[{},60,{3,0,1}]},Table[FromDigits[Take[c,n],4],{n,30}]] (* _Harvey P. Dale_, Feb 27 2012 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_