login
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,0.
1

%I #12 Jul 21 2024 13:50:28

%S 2,11,44,178,715,2860,11442,45771,183084,732338,2929355,11717420,

%T 46869682,187478731,749914924,2999659698,11998638795,47994555180,

%U 191978220722,767912882891,3071651531564,12286606126258,49146424505035

%N Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,0.

%H Harvey P. Dale, <a href="/A037625/b037625.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 (4,0,1,-4).

%F G.f.: x*(2+3*x) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 29 2015

%t Table[FromDigits[PadRight[{},n,{2,3,0}],4],{n,30}] (* or *) LinearRecurrence[{4,0,1,-4},{2,11,44,178},30] (* _Harvey P. Dale_, Jul 21 2024 *)

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_