Consider all n-tuples of real numbers, (x1,x2,x3,...,xn) such that i=1∑nxi2=1 where n is a positive integer.
Let Mn be the maximum value of i=1∑nixi over all such n-tuples.
Determine the sum of all integers p,1≤p≤300 such that Mp is an integer.