Mathematics — Real Analysis · monotone-functions-continuity
Problem
(Challenging) Find an example of an increasing function f:[0,1]→R that has a discontinuity at each rational number. Then show that the image f([0,1]) contains no interval. Hint: Enumerate the rational numbers and define the function with a series.