Burnside's lemma (for finite group) tells us that the square sum of dimensions over all inequivalent irreducible representations is equal to the order of the group, i.e.
$$ d_1^2 + d_2^2 + \cdots + d_r^2 = |G| $$
where $d_i$ is the dimension of representation $D^{(i)}(g)$. It seems that for all finite groups, this equation has only one solution (for $d_i$). Is this true and how can I prove it or find a counter-example?
If a finite group $G$ has a representation with $d_i=2$ and $d_j=9$ then one can replace these by $6$ and $7$ without affecting the sum of the $d_i^2$s. So the equation $d_1^2 + d_2^2 + \cdots + d_r^2 = |G|$ may have multiple solutions in positive integers.