Countable spaces, realcompactness, and the pseudointersection number
All spaces are assumed to be Tychonoff. Given a realcompact space $X$, we denote by $\mathsf{Exp}(X)$ the smallest infinite cardinal $κ$ such that $X$ is homeomorphic to a closed subspace of $\mathbb{R}^κ$. Our main result shows that, given a cardinal $κ$, the following conditions are equivalent: $(1)$ There exists a countable crowded space $X$ such that $\mathsf{Exp}(X)=κ$, $(2)$ $\mathfrak{p}\leqκ\leq\mathfrak{c}$. In fact, in the case $\mathfrak{d}\leqκ\leq\mathfrak{c}$, every countable dense subspace of $2^κ$ provides such an example. This will follow from our analysis of the pseudocharacter of countable subsets of products of first-countable spaces. Finally, we show that a scattered space of weight $κ$ has pseudocharacter at most $κ$ in any compactification. This will allow us to calculate $\mathsf{Exp}(X)$ for an arbitrary (that is, not necessarily crowded) countable space.