Let nn be a fixed integer, with n≥2n \geq 2.

(a) Determine the least constant CC such that the inequality

∑1≤i<j≤nxixj(xi2+xj2)≤C(∑1≤i≤nxi)4\sum_{1 \leq i < j \leq n} x_i x_j (x_i^2 + x_j^2) \leq C \left( \sum_{1 \leq i \leq n} x_i \right)^4

holds for all real numbers x1,…,xn≥0x_1, \ldots, x_n \geq 0.

(b) For this constant CC, determine when equality holds.