  In this article we study solutions to second order linear difference
equations with variable coefficients. Under mild conditions we provide closed
form solutions using finite continued fraction representations. The proof of
the results are elementary and based on factoring a quadratic shift operator.
As an application, we obtain two new generalized continued fraction formulas
for the mathematical constant $\pi^2$.
