Let $X$ be a three-element set. For each of the following numbers n, determine the number of distinct homeomorphism classes of topologies on $X$ with exactly $n$ open subsets (including the empty set and the whole set). $1)3\\2)4\\3)5\\4)7$
observation: Assume $\tau_1$ and $\tau_2$ are two homeomorphic topologies on $X$, then for every open set $U$ in $\tau_1$ there exists an open set $U^{'}$ such that $|U| = |U^{'}|$. Using this observation, I have solved the case when there are $3$ open sets. Such topology should be $\{\phi,X,U\}$ and $|U| = 1$ or $2$. Depends on the cardinality of $U$, the homomorphism class determined and so there are two homomorphism classes.
Next, the $n=7$ case is straight forward. Because there are no topologies with seven open sets. So here the answer is $0$.
I need some intuition to do the cases $n=4$ and $5$. Kindly share your thoughts. Thank you.