%I #12 Oct 16 2023 23:40:24
%S 1,7,30,120,481,1927,7710,30840,123361,493447,1973790,7895160,
%T 31580641,126322567,505290270,2021161080,8084644321,32338577287,
%U 129354309150,517417236600,2069668946401,8278675785607,33114703142430,132458812569720,529835250278881,2119341001115527
%N Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0.
%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*(1+2*x) / ( (x-1)*(4*x-1)*(x^2+1) ). - _R. J. Mathar_, Oct 13 2015
%F a(n) ~ (8/17)*4^n = (8/17)*A000302(n). - _Stefano Spezia_, Oct 16 2023
%t LinearRecurrence[{5,-5,5,-4},{1,7,30,120},30] (* _Stefano Spezia_, Oct 16 2023 *)
%K nonn,base,easy
%O 1,2
%A _Clark Kimberling_
%E a(24)-a(26) from _Stefano Spezia_, Oct 16 2023
|