Prove that $\lim\limits_{n\rightarrow\infty} \left(1+\frac{1}{a_{n}} \right)^{a_{n}}=e$ if $\lim\limits_{n\rightarrow\infty} a_{n}=\infty$
Hint:
$$\left(1 + \frac{1}{\lfloor a_n \rfloor+1} \right)^{\lfloor a_n \rfloor} \leqslant \left(1 + \frac{1}{a_n} \right)^{a_n} \leqslant \left(1 + \frac{1}{\lfloor a_n \rfloor} \right)^{\lfloor a_n \rfloor+1}, $$
and
$$\left(1 + \frac{1}{n+1} \right)^n, \left( 1 + \frac{1}{n} \right)^{n+1} \to e$$
Given that $\lim_{n\to\infty }b_n = \lim_{n\to\infty }\frac{1}{a_{n}}=0$ we have,
$$\lim_{n \to\infty} \left(1 + \frac{1}{a_{n}} \right) ^ {a_{n} } = \lim_{n \to\infty} \exp\left(\frac{\ln\left(1 + \frac{1}{a_{n}} \right)}{\frac1{a_{n}}} \right)= \lim_{h \to0} \exp\left(\frac{\ln\left(1 +h \right)}{h} \right)=e$$
similarly
$$\lim_{n \to\infty} \left(1 +b_n \right) ^ { \frac{1}{b_{n}}} = \lim_{n \to\infty} \exp\left(\frac{\ln\left(1 + b_n\right)}{b_n} \right)= \lim_{h \to0} \exp\left(\frac{\ln\left(1 +h \right)}{h} \right)=e$$
For $|t|<1$, note that $t-{1 \over 2} t^2 \le \log(1+t) \le t$ and so $|\log(1+t)-t| \le {1 \over 2} t^2$.
Hence for $|x|>1$ we have $|\log(1+{1 \over x})-{1 \over x}| \le {1 \over 2} ({1\over x})^2$ and so $|x\log(1+{1 \over x})-1| \le {1 \over 2} {1\over |x|}$.
Hence $\lim_{x \to \infty} x\log(1+{1 \over x}) =\lim_{x \to \infty} \log(1+{1 \over x})^x = 1$ from which it follows that $\lim_{x \to \infty} (1+{1 \over x})^x = e$.