If you define by for rational, and for irrational, at what points is continuous?
Think about it likes this. If is continuous and then . So, let the since both the irrationals and rations are dense in the reals there exists sequences such that . Thus, we must have that and . In particular, . Thus, that is the only point of continuity.