The correct divisor is $6$. To get the average, it doesn't matter how you got the terms. Another way to get the squares is to add up the odd numbers, so you could do $\frac 16\left((1)+(1+3)+(1+3+5)+(1+3+5+7)+(1+3+5+7+9)+(1+3+5+7+9+11)\right)$ You wouldn't want the denominator to change to $21$ because you got the squares this way, would you?