This might be something well-known.
LetFor $1\le k\le n$, let $A(n,k)\subset\mathbb{R}^{n}$ be the set of points $x=(x_{1},...,x_{n}% )$ with at least $k$ distinct coordinates. Then what are the homologies of $A(n,k)$?
For example, $A(n,2)$ is homeomorphicequal to $\mathbb{R}^{n}\backslash\Delta$, where $\Delta$ is the diagonal, thus it is homotopy equivalent to $\mathbb{S}^{n-2}$.