Let $\lambda_0 < \lambda_1$ and $\lambda_0 \lambda_1 > 1$ (i.e. at least $\lambda_1 > 1$). Further, let $S_n$ denote a simple random walk with increment distribution $$ P(X = 0)= P(X= 1) = 1/2.$$
Note that, using the SLLN, one can easily prove that (as $n \to \infty$) $$ \lambda_0^{S_n} \lambda_1^{n-S_n} \to \infty \ \ a.s.$$
Now, my goal is to find a deterministic sequence $(a_n)_n$ such that $$ E \left[ \frac{\lambda_0^{S_n} \lambda_1^{n-S_n}} {\left(\sum_{k=0}^{n-1} \lambda_0^{S_k} \lambda_1^{k-S_k}\right)^2}\right] \Big{/} a_n \longrightarrow c \tag{1} $$ for some constant $c > 0$ as $n \to \infty$. To put it shortly, I am interested in the asymptotic behavior of the stated expectation.
My (not very educated) guess for such a sequence is $$ a_n = E \left[ \frac{1}{\lambda_0^{S_n} \lambda_1^{n-S_n}}\right].$$ The reason for this guess is that in a deterministic case (for any $\lambda > 0$), we have as $n \to \infty$ that $$ \frac{\lambda^n}{\sum_{k=0}^{n-1} \lambda^k} \to c> 0.$$
I am looking for ideas on how to handle the expectation in (1) and deduce such a "normalizing" sequence. Handling the expression in (1) seems quite complicated... Any ideas are much appreciated!