If sum of the first n terms of an AP is $$c \times n^{2}$$ then the sum of squares of these n terms is