# Continuous mapping from R to N with different topology.

Show that there exists a continuous mapping of line $R$ with lower limit topology onto space $N$ with topology induced from euclidean topology on a line.

In the second space every singleton $\{n\}$ is a n open set, so I was thinking about creating a function for which $f^{−1}(\{n\})=[a,a+1)$, because it would be continuous which would mean that there exists such mapping. Does anyone have an idea how to do it precisely?

You're actually almost there - you have exactly the right idea. Just pick $f(x)=\left \lfloor{x}\right \rfloor$, the floor function. Then, as you'd hoped, $f^{-1}(\{n\}) = [n,n+1)$. Thus the inverse image of any singleton is an open set. From here it's simple to show that the inverse image of every open set is open, and thus the function is continuous!