TITLE: A problem on a specific integer partition
QUESTION [11 upvotes]: Let $n$ be a positive integer, we consider partitions of the following form :
$$n = d^{2}_{1} + d^{2}_{2} + ... + d^{2}_{r}$$ such that : 

$d_{i}\vert n$
$1=d_{1}<d_{2} \le d_{3} \le ... \le d_{r}$  
$gcd(d_{2},d_{3},...,d_{r}) = 1$     

We call $r$ the rank of the partition.
Examples :  

$60 = 1+3^{2}+3^{2}+4^{2}+5^{2}$ 
$168 = 1+3^{2}+3^{2}+6^{2}+7^{2}+8^{2} $  

Remark : Let $G$ be a non-cyclic finite simple group, and $(H_{i})_{i}$ its irreducible representations, then : $$ord(G) = \sum_{i} dim(H_{i})^{2}$$ is an example. The first example comes from the group $A_{5}$, and the second, from the group $A_{1}(7)$.
Of course, there are examples not coming from a group : $60 = 1 + 3^{2} + 5^{2}+5^{2}$ 

Problem : Are there only finitely many such partitions for a fixed rank $r$ ?     

Motivation : The study of finite quantum groups (see here).
Final remark: Let $p_{r}(n)$ be the number of such partitions for $n$, of rank $r$.
If the problem has a positive answer, then $N_{r} = max\{n : p_{r}(n) \ne 0   \} < \infty$
In this case, the generating function $P_{r}(x) = \sum_{n}p_{r}(n)x^{n}$, is a polynomial of degree $N_{r}$.
Bonus problem : Find an evaluation of the number $N_{r}$.

REPLY [2 votes]: Since the question started with examples coming from degrees of irreducible characters of groups, it is perhaps worth noting that if we limit ourselves to group examples, there are only finitely many of a given rank. Since the "rank" is the number of irreducible characters of the group, and that is equal to the number of conjugacy classes, an old result of Landau applies. It asserts that there is some function $L(r)$ such that if a 
$~finite~$ group $G$ has exactly $r$ classes, then $|G| \le L(r)$. (Note that the finiteness hypothesis is essential.) Landau's theorem appears as Theorem 4.13 of my algebra text (Algebra: A Graduate Course).