I'm having trouble with an exercice from Rudin's Real and Complex Analysis:
Does there exist a sequence $(f_n)$ of continuous positive functions on $\Bbb R$ such that $f_n(x)$ is unbounded if and only if $x \in\Bbb Q$ ?
What if $x \in\Bbb R \setminus\Bbb Q$?
Now, replace unbounded by $f_n(x) \rightarrow \infty $ as $ n \rightarrow \infty$ and answer the analogues to the previous questions.
I don't know very well how to construct such functions, as they would have to be continuous. My guess is that you can do it for $x \in\Bbb Q$ , as their measure is zero, but I don't know how to prove that you can or cannot do it.
Edit:
I have found the answers for $f_n(x) \rightarrow \infty $, but I don't understand yet how to prove the first cases. I think I have to use Baire's theorem but I don't know how to get there.