Does there exist a function f:R→R that is continuous on exactly the rational numbers?
Note: The following function f:R→R is discontinuous on exactly the rational numbers:
Index all the rational numbers using the bijection function a:N→Q.
Define f:R→R as f(x)=a(n)<x∑2−n.