login
a(n) = (2*5^n-(4^n-2^n))/2.
2

%I #7 Dec 31 2023 17:43:19

%S 1,4,19,97,505,2629,13609,69997,357985,1822309,9241849,46731997,

%T 235754065,1187152789,5969306089,29980723597,150440439745,

%U 754349584069,3780337658329,18936047636797,94817676351025,474638135996149

%N a(n) = (2*5^n-(4^n-2^n))/2.

%C Binomial transform of A083314.

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (11,-38,40)

%F G.f.: (1-7*x+13*x^2)/((1-2*x)*(1-4*x)*(1-5*x)).

%F E.g.f.: (2*exp(5*x)-exp(4*x)+exp(2*x))/2.

%F a(n) = 11*a(n-1) - 38*a(n-2) + 40*a(n-3). - _Wesley Ivan Hurt_, Dec 31 2023

%Y Cf. A083314, A083316.

%K easy,nonn

%O 0,2

%A _Paul Barry_, Apr 24 2003