I need to find a continuous, onto $f: (0,2) \rightarrow (0,2) $ and an countably infinite $A \subset (0,2)$ such that $f$ is not differentiable at every point of $A$ and differentiable at every point of $(0,2) \backslash A$ ?
My attempt:
For a "non-diffrentiable function at every point" I can think of $$ f(x) = \left\{ \begin{array}{} 1 , x \in \mathbb{Q} \\ 0, x \in \mathbb{Q}^c \end{array} \right. $$
or something similar to this, how can divide ythe domain $(0,2)$ such that in one domain I'll have some function similar to above and merge it with other continuous part of the function. The problem will be at the boundary. since there derivative limits should match.
Any hint on how should I proceed?
