Given an integer n>2, consider all sequences x1,x2,...,xn of nonnegative real numbers such that x1+2x2+...+nxn=1. Find the maximum value and the minimum value of x12+x22+...+xn2 and determine all the sequences x1,x2,...,xn for which these values are obtained. algebrainequalitiesminmax