Skip to main content
edited tags
Link
YCor
  • 63.9k
  • 5
  • 187
  • 286
Source Link
Serguei Popov
  • 1.9k
  • 12
  • 21

An example of an open discontinuous function

Consider the following simple example of a function $f: \mathbb{R}\to\mathbb{R}$ which is open and discontinuous at all points. If $x\in\mathbb{R}$ is represented as something.$x_1x_2x_3\dots$ in the binary system, then set $$f(x)=\lim_{n\to\infty}\frac{x_1+\cdots+x_n}{n}$$ if the limit exists and belongs to $(0,1)$, and set $f(x)$ to (say) $\frac{1}{2}$ otherwise.

Is this example known (I suppose it is), and what's the reference for it?