I realize that the divisions are meant to take into account the number of factor levels (which will tend to push up $\text{SS}_\text{between}$), and the number of observations (which will tend to push up $\text{SS}_\text{within}$). However, I can't understand why we don't obtain these Mean Squares by dividing $\text{SS}_\text{between}$ by k and $\text{SS}_\text{within}$ by N.
For example, in the following data there were three levels to the factor, and 18 observations in total.