Find the conjugacy classes and the class equation for each of the following groups.
(a) S4 (b) D5 (c) Z9 (d) Q8
Hint. The conjugacy classes for S4 are
O(1)O(12)O(12)(34)O(123)O(1234)={(1)},={(12),(13),(14),(23),(24),(34)},={(12)(34),(13)(24),(14)(23)},={(123),(132),(124),(142),(134),(143),(234),(243)},={(1234),(1243),(1324),(1342),(1423),(1432)}.
The class equation is 1+3+6+6+8=24.