Given the set $A = \{1,2,3,4,5,6,7\}$.
How can I establish how many and what are the equivalence relations $R$ on $A$ that meet all the following conditions?
1) $|A/R| = 3$
2) $1 R 2$
3) $[2]_R\neq[3]_R$
4) $[4]_R = [5]_R$
5) $|[7]_R| = 3$
Given the set $A = \{1,2,3,4,5,6,7\}$.
How can I establish how many and what are the equivalence relations $R$ on $A$ that meet all the following conditions?
1) $|A/R| = 3$
2) $1 R 2$
3) $[2]_R\neq[3]_R$
4) $[4]_R = [5]_R$
5) $|[7]_R| = 3$
Since partition and equivalence relation are equivalent, it suffices to consider the ways to partition $A$.
We start with $\{\{1,2\},\{3\},\{\}\}$.
This gives $\{\{1,2,4,5\},\{3\},\{\}\}$. Wherever we put $7$, property (5) is violated.
From $\{\{1,2\},\{3,4,5\},\{\}\}$ and property (5), the only choice is $\{\{1,2,7\},\{3,4,5\},\{6\}\}$.
We have $1+2\times2+1=6$ choices. \begin{align} & \{\{1,2,7\},\{3,4,5\},\{6\}\} \\ & \{\{1,2,7\},\{3,6\},\{4,5\}\} \\ & \{\{1,2,7\},\{3\},\{4,5,6\}\} \\ & \{\{1,2\},\{3,6,7\},\{4,5\}\} \\ & \{\{1,2,6\},\{3\},\{4,5,7\}\} \\ & \{\{1,2\},\{3,6\},\{4,5,7\}\} \\ \end{align}