To prove that "$\mathbb{R}^{n_1}$ and $\mathbb{R}^{n_2}$ are not homeomorphic for $n_1 \neq n_2$", I wonder if the following is a valid proof:
Suppose $\mathbb{R}^{n_1}$ and $\mathbb{R}^{n_2}$ are homeomorphic. Then $\mathbb{R}^{n_1} \backslash \{0\}$ and $\mathbb{R}^{n_2} \backslash \{0\}$ are homotopy equivalent. But $\mathbb{R}^{n_1} \backslash \{0\} \simeq S^{n_1-1}$ and $\mathbb{R}^{n_2} \backslash \{0\} \simeq S^{n_2-1}$ have different homology groups, so they are not homotopy equivalent. Contradiction.
Suppose $\mathbb{R}^{n_1}$ and $\mathbb{R}^{n_2}$ are homeomorphic. Then $\mathbb{R}^{n_1} \backslash \{0\}$ and $\mathbb{R}^{n_2} \backslash \{0\}$ are homotopy equivalent. But $\mathbb{R}^{n_1} \backslash \{0\} \simeq S^{n_1-1}$ and $\mathbb{R}^{n_2} \backslash \{0\} \simeq S^{n_2-1}$ have different homology groups, so they are not homotopy equivalent. Contradiction.