For some ${n \in \mathbb{N}}$ and ${f(x_1, x_2, x_3, x_5,...) = 1^{x_1}.2^{x_2}.3^{x_3}.5^{x_5}.7^{x_7}....}$
${x_i \in \mathbb{W}}$
Find ${x_1, x_2, x_3, x_5,...}$ such that ${f(x_1, x_2, x_3, x_5,...)}$ is maximum and ${1.x_1 + 2.x_2 + 3.x_3 + 5.x_5 + ... = n}$
Sorry if already asked, did not know how to search this...