I would like to solve the following first order non-homogenous recurrence relation $$ \left(n^2+n-1\right) y_{n+1}-(n-2)\,n\,y_n=\frac{1}{256} \left(25 n^3+150 n^2-173 n+32\right)\,. $$
It is a simple exercise to solve the associated homogenous recurrence relation $$ \left(n^2+n-1\right)\,y^H_{n+1}-(n-2)\,n\,y^H_n=0\,, $$ which yields $$ y^H_n = C_1\,\frac{\Gamma (n-2) \Gamma (n)}{\Gamma \left(n-\frac{\sqrt{5}}{2}+\frac{1}{2}\right) \Gamma \left(n+\frac{\sqrt{5}}{2}+\frac{1}{2}\right)}\,, $$ where $C_1$ is a constant and $\Gamma$ is a gamma function.
I tried to use telescoping to solve for $y_n$. In order to do this I set $$ y_n = y_n^H+y_n^H z_n $$ which gives for $z_n$ $$ z_{n}-z_{n-1}=\frac{\left(25 n^3+75 n^2-398 n+330\right)}{256} \frac{\Gamma \left(n-\frac{\sqrt{5}}{2}-\frac{1}{2}\right) \Gamma \left(n+\frac{\sqrt{5}}{2}-\frac{1}{2}\right)}{\Gamma (n-2) \Gamma (n)}\,. $$ However, I was not able to find a closed form for $$ \sum_{k=1}^n \frac{\left(25 k^3+75 k^2-398 k+330\right)}{256} \frac{\Gamma \left(k-\frac{\sqrt{5}}{2}-\frac{1}{2}\right) \Gamma \left(k+\frac{\sqrt{5}}{2}-\frac{1}{2}\right)}{\Gamma (k-2) \Gamma (k)}. $$
Any other ideas?
$$ x^3 Y'' - 2x^2 Y' + Y + c_0 = \frac{165 x^3 - 271 x^2 + 47 x - 16}{128 (1-x)^4} $$
(where $c_0$ is a parameter) which sage doesn't know how to solve. Here $Y(x) = \sum_n y_n x^n$. The singularities of $Y$ can give good asymptotic estimates for the $y_n$s, and $Y$ has a particularly nice closed form we can compute a closed form for the $y_n$ from this... Unfortunately, this doesn't.
– HallaSurvivor Jan 05 '22 at 06:00