I'm looking for an example of a sequence of real-value functions $\left\{ f_{n}:\mathbb{R}\to\mathbb{R}\ |\ n\geq1\right\}$ which converges locally uniformly to some function $f$ on some interval $\left(a,b\right)\subseteq\mathbb{R}$ but does not converge uniformly there. Just for clarity, the definitions involved are:
A sequence of functions $f_{n}$ is said to converge uniformly to a function $f$ on $\left(a,b\right)$ if $$\sup\limits _{x\in\left(a,b\right)}\left|f_{n}\left(x\right)-f\left(x\right)\right|\overset{n\to\infty}{\longrightarrow}0$$
The sequence is said to converge locally uniformly to $f$ on $\left(a,b\right)$ if for each $x\in\left(a,b\right)$ there is a neighborhood $U$ of $x$ such that $f_{n}$ converges uniformly to $f$ on $\left(a,b\right)\cap U$ .
I did some searching and I found a couple of places that suggest looking at $f_{n}\left(x\right)=x^{n}$ on $\left(0,1\right)$ but it seems to me this sequence simply converges uniformly to $f\equiv0$ on the entire open interval.