Techniques to solve an "equivalence" of 3 variables given some function?

45 Views Asked by At

Given a function $f$ and that $$f(x) = y, f(y) = z, f(z) = x$$ how would I find all possible triples $(x,y,z)$ that satisfy that system. I am not interested in any examplesbut general technques for this problem.