Let be a1,a2,....,an nonzero n real numbers, p of which are positive and remaining are negative. The number of ordered pairs (j,k),j<k for which ajak is positive, is 55.
Similarly, the number of ordered pairs (j,k),j<k, for which ajak is negative, is 50. Then the value of p2+(n−p)2 is