+Let
A
be a finite set with
$n \geq 4$ elements and let
R
be an equivalence relation on
A
.
Suppose that there are exactly
$n-2$ equivalence classes and that no equivalence class can
contain exactly three elements. Recall that the elements of the set
R
are ordered pairs of
elements from
A.
I know the answer is $n+4$ but I don't see the intuition behind it.
You can use the pidgeonhole principle to figure out exactly how many elements are in each equivalence class. In particular, if you (correctly) answer the two questions:
Then you know pretty much everything about the structure of the relation. Then, notice that $R$ is just the set of pairs which come from the same equivalence class - so for, instance, an equivalence class of size $2$ is represented by $2^2=4$ elements in $R$.