I looked for answers a lot but mostly used the Bell number, which we haven't studied. And I have no idea how to do it with negatively transitive relations..
(Edit) Negatively transitive relation, according to our lecturer:
R is negatively transitive if and only if:
∀x,y,z∈S:¬(xRy)∧¬(yRz)⟹¬(xRz)
By De Morgan's Laws, this can be given the alternative form:
∀x,y,z∈S:(xRz)⟹(xRy)∨(yRz)
(Also a note that we don't study this in English, so there might be some mistakes in the explanation, I'm sorry for this)
I tried to count all possible relations for 9 elements first, which was 2^18, and then tried to find the partitions of a set (the equivalence relations on the set). For 9 elements was hard, but for 3 elements it was:
First possible partition: {{a},{b},{c}}:3 classes, each class with 1 element.
2 nd possible partition: {{a,b},{c}}2 classes, one with elements a,b and the other with c .
Similarly we see three other possible partitions: {{a},{b,c}},{{a,c},{b}} , and {{a,b,c}} .
(Source: How many different equivalent relations can you define on set of three elements?)
And the answer was 5 equivalent relations.