Let x_1, x_2, \dots, x_n be real numbers. If x_1^2 + 2x_2^2 + \dots + nx_n^2 = 1, then find the maximum value of (x_1 + x_2/2 + \dots + x_n/n)^2, in terms of n.