Nonconstant continuous locally recurrent functions are quite unintuitive. A real-valued function is locally recurrent on $\mathbb R$ if for every $x_0\in\mathbb R$ and every deleted neighborhood $N(x_0)$ of $x_0$, there exists $x\in N(x_0)$ for which $f(x)=f(x_0)$. Thus in some sense a nonconstant continuous locally recurrent function looks everywhere like $x\sin(1/x)$ at $x=0$. See papers in the American Math. Monthly of Bush (1962), Marcus (1963), and Mauldon (1965).
Richard Stanley
- 50.8k
- 14
- 155
- 279