Let $I$ be an open interval of $\mathbb R$.
Does there exist a continous function $f : I \rightarrow \mathbb R^n$ such that $(\mathrm{range} f) \cap \mathbb Q^n = \emptyset$?
In general, what I'm really wondering is if it's possible to have a continuous curve completely 'miss' a set of values which is dense in its codomain. (Something besides the trivial case when $f$ only ever takes on a single value)
In this case, $\mathbb Q^n$ is dense in $\mathbb R^n$, and I wonder if it's possible to craft a continuous function which avoids any members of this set. If so, this gives rise to some interesting ideas.
The answer when $n = 1$ is shown to be negative by the intermediate value theorem. But I'm wondering about more general spaces.