Let $A = M_{n_1}(\mathbb R) \oplus M_{n_2}(\mathbb R) \oplus ... \oplus M_{n_m}(\mathbb R)$ be a direct sum of real matrix algebras. Under what conditions does there exist a group ring $\mathbb R[G]$ which is isomorphic to $A$?
I know every group ring is isomorphic to some such $A$ by Wedderburn's theorem, and I want to determine the extent to which the converse holds. I know that $A$ must have a $\mathbb R$-summand, corresponding to the linear span of $\sum_{g\in G} g \in \mathbb R[G]$. Is this condition sufficient as well? If not, is there a nice criterion, at least for small numbers of summands?
This is similar to Qiaochu Yuan's answer (+1) but makes the claims more strongly and uses Miller's classification of groups with very few conjugacy classes.
Suppose $G$ is a finite group such that $\mathbb{R}[G]$ is the direct product of matrix rings $M_{n_i}(\mathbb{R})$ for $n_1 \leq n_2 \leq \dots \leq n_m$.
The original question claims this is true for any group, but actually this places fairly severe restrictions on the group which we can use to classify those groups with small $m$. Since all representations are real, we have that the $n_i$ are the character degrees of $G$, and so we have that $n_i$ divides $\sum n_i^2 = |G|$ and that $m$ is the number of conjugacy classes of $G$ (which must all be real). The number of the $n_i$ that are equal to 1 is the index $[G:G']$, and in particular is at least one. Since all the representations are real, we also have that $G$ contains exactly $\sum n_i$ elements of order dividing 2, and so $|G|$ is even.
If $m=1$, there is only one degree and we know it is $n_1=1$ so that $|G|=1$ and $G$ is the trivial group.
If $m=2$, then $G$ has only two conjugacy classes, so $|G|=2$ and $G$ is cyclic of order 2 with $n_1=n_2=1$.
If $m=3$, then $G$ has only three conjugacy classes, so $|G| \in \{3,6\}$, but only $G$ the nonabelian group of order 6 has only real conjugacy classes, so $n_1= n_2=1$ and $n_3=2$.
If $m=4$, then $G$ has only four conjugacy classes, so $|G| \in \{4,10,12\}$, but only $G = C_2 \times C_2$ and $G = D_{10}$ work, giving either $n_1=n_2=n_3=n_4=1$ or $n_1=n_2=1$ and $n_3=n_4=2$. $$\begin{array}{ccccc|c} n_1 & n_2 & n_3 & n_4 & G \\ \hline 1 & 1 & 1 & 1 & C_2 \times C_2 \\ 1 & 1 & 2 & 2 & D_{10} \end{array}$$
If $m=5$, then we get only four possibilities: $$\begin{array}{ccccc|c} n_1 & n_2 & n_3 & n_4 & n_5 & G \\ \hline 1 & 1 & 1 & 1 & 2 & D_8 \\ 1 & 1 & 2 & 2 & 2 & D_{14} \\ 1 & 1 & 2 & 3 & 3 & S_4 \\ 1 & 3 & 3 & 4 & 5 & A_5 \end{array}$$