Let S be the set of all n-tuples of real numbers, with the property that among the numbers x1,2x1+x2,…,nx1+x2+…+xn the least is equal to 0, and the greatest is equal to 1. Determine
(x1,x2,…,xn)∈Smax1≤i,j≤nmax(xi−xj)and(x1,x2,…,xn)∈Smin1≤i,j≤nmax(xi−xj).