%I #29 Jun 11 2023 10:20:58
%S 1,28,731,19010,494265,12850896,334123303,8687205886,225867353045,
%T 5872551179180,152686330658691,3969844597125978,103215959525275441,
%U 2683614947657161480,69773988639086198495,1814123704616241160886,47167216320022270183053
%N Expansion of 1/((1-x)^2*(1-26*x)).
%C This sequence was chosen to illustrate a method of solution.
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (28, -53, 26).
%F a(n) = (26^(n+2) - 25*n - 51)/625.
%F In general, for the expansion of 1/((1-s*x)^2*(1-r*x)) with r>s>=1 we have the formula: a(n) = (r^(n+2)- s^(n+1)*((r-s)*n +(2*r-s)))/(r-s)^2.
%e a(3) = (26^5 - 25*3 - 51)/625 = 19010.
%Y Cf. A000295, A000340, A014825, A014827, A014936,
%K nonn
%O 0,2
%A _Yahia Kahloune_, Sep 24 2013