Edit:
This question is an old version and could be closed. More details can be found in this post.
Motivation
A product of two factors can also be written as linear combination of squared linear combinations
$$x_1x_2=\frac{1}{4}(x_1+x_2)^2-\frac{1}{4}(x_1-x_2)^2=\sum_{i=1}^{n_2} a_i \left(\sum_{j=1}^{2}b_{i,j}x_j\right)^2$$ with $n_2=2,a_1=\frac{1}{4},a_2=-\frac{1}{4},b_{1,1}=1,b_{1,2}=1,b_{2,1}=1,b_{2,2}=-1$.
Similarly, for 3 factors it was found by user Essaidi $$x_1x_2x_3=\frac{1}{24}(x_1+x_2+x_3)^3−\frac{1}{24}(−x_1+x_2+x_3)^3−\frac{1}{24}(x_1−x_2+x_3)^3−\frac{1}{24}(x_1+x_2−x_3)^3$$
However this simple pattern does not continue.
Question
Which real coefficients $a_i,b_{i,j}$ fulfill the product of four factors? $$x_1x_2x_3x_4=\sum_{i=1}^{n_4} a_i\left( \sum_{j=1}^{4}b_{i,j}x_j \right)^4$$
General Question
Which real coefficients $a_i,b_{i,j}$ fulfill the product of $k$ factors with $k\in \mathbb{N}^+$ ?
$$\prod_{j=1}^k x_j=\sum_{i=1}^{n_k} a_i\left( \sum_{j=1}^{k}b_{i,j}x_j \right)^k$$
Note:
The smallest possible $n_k$ is of interest. It is allowed for some $b_{i,j}=0$.