Let $f$ be a uniformly continuous real-valued function on $(-\infty, +\infty)$, and for each $n\in I$ let $f_n(x)=f\left(x+\frac{1}{n}\right)$.
Prove that $\{f_n\}_{1}^{\infty}$ converges uniformly on $(-\infty, +\infty)$ to $f$.
I have no idea to prove this.
You have to show that given $\epsilon>0$ you can find an $k\in \Bbb{N}$ depending on $\epsilon$ only such that $$|f_n(x)-f(x)|=|f\left(x+\frac{1}{n}\right)-f(x)|<\epsilon \quad \forall n\ge k $$ Now use uniform continuity to show that above inequality is true.