(sum of n^2 from 1 to x-1) / (x-1)