I just started studying smooth manifolds. The definition of a topological manifold requires a topological space to be locally Euclidean: homeomorphic to $\mathbb{R}^n$.
I know some examples, like how a 2-sphere is locally homeomorphic to $\mathbb{R}^2$. In this case we have an intuitive notion of why $n=2$.
Question: for a general topological space, how do we know what $n$ to choose?