My course says it's easily explained that $\sum_{\substack{g\in G}} |C_G(g)|=m\times|G|$ where $m$ is the number of conjugacy classes of $G$.
I don't think I see it that easily... Can you tell me about it?
I thought about using $|C_G(g)|\times|C(g)|=|G|$ or maybe trying to consider only one element of each conjugacy classes but I don't see it. I'm probably missing something quite obvious...
Thank you!
The conjugacy class of each $g \in G$ contributes $|C_G(g)| \cdot |C(g)| = |G|$ to the sum.