Can someone please explain to me how to solve this? According to my book the result should be $e^4$, however I cannot understand the proposed solution. Can someone please take the time to walk me through it?
$$f : \mathcal R \mapsto \mathbb R, f(x) = (x - 2)(x - 3)(x - 4)(x - 5)$$ $$\lim_{x\to \infty} \left(\frac{f(x+1)}{f(x)}\right)^x$$
Edit: Partial solution.
I can get up to the following point. From here onwards however I do not know how to continue in order to get $e^4$. It appears to me that the result is $1^\infty = 1$ at this point (but that's not the case according to my book):
$$\lim_{x\to \infty} \left(\frac{x-1}{x-5}\right)^x$$
Edit 2: Solution given by my book.
$$\lim_{x\to \infty} \left(1+\frac{4}{x-5}\right)^x$$ $$ = \lim_{x\to \infty} \left(\left(1+\frac{4}{x-5}\right)^\frac{x - 5}{4}\right)^{\frac{4}{x - 5}x}$$ $$ = e^{\lim_{x\to \infty} \frac{4x}{x - 5}} = e^4$$