sums and squares