Some students can't even grok this problem statement, as they are (informationally) overloaded by the number of variables : $p, t, k, n_1, \cdots, n_k \;$. Kindly improve my picture, or draw a better picture?
I match variables to the first letter of the mathematical object. E.g. $N$umber of each $\color{fuchsia}{k}$ind $= n_\color{fuchsia}{k}$.