There have been changes made to the second equation in the pair that will be worth looking at. All values for the solutions must be non-zero positive integers (natural numbers). Please note, all values must be distinct!
According to this equation,
$$V_1^2+V_2^2+\cdots+V_k^2 = \left(\frac{2\left(V_{1}+V_{2}+\cdots+V_{k}\right)}{k}-V_{1}\right)^{2}+\left(\frac{2\left(V_{1}+V_{2}+\cdots+V_{k}\right)}{k}-V_{2}\right)^2+\cdots+\left(\frac{2\left(V_{1}+V_{2}\cdots+V_{k}\right)}{k}-V_{k}\right)^{2}$$
(Source: Personal observation)
There can be at most only two common solutions to the two equations $V_{1}+V_{2}\cdots+V_{k}=A$ and $V_{1}^{2}+V_{2}^{2}+\cdots +V_{k}^{2}=B$, where $V_{1},V_{2},\cdots V_{k}$ denote different variables whose values I wish to find for a fixed value $A$ and $B$ for each of the two equations.
Is it possible to solve this problem with the least of guesswork application? What if $k$ were to extend into really large numbers, creating about $10^{10}$ variables and above? If not possible (for very large numbers), never mind. Thanks all!
PS Sorry if the tags don't match up with the topic.
There are infinitely many solutions to these equations (unless $k = 2$, in which case there are 2 solutions, but where the other one can be obtained by interchanging $X_1$ and $X_2$. The set of zeros of any polynomial of the form
$$ x^k - A x^{k - 1} + \frac{A^2 - B}{2} x^{k - 2} + a_{k - 2} x^{k - 2} + \dots + a_1 x + a_0 $$
with $a_0,\dots,a_{k - 2}$ arbitrary will satisfy.
To see this, note for any polynomial, the coefficients are $$ x^k + (- s_1) x^{k - 1} + s_2 x^{k - 2} + \dots + (-1)^k s_k $$
where the $s_i$ are the elementary symmetric polynomials in the zeros of this polynomial. Clearly, $A$ equals the first symmetric polynomial in the $X_i$, and it's easy to check that $(A^2 - B)/2$ equals the second symmetric polynomial in the $X_i$. We can then pick the other coefficients arbitrarily, and will still have the sum of the roots equal to $A$, and the sum of their squares equal to $B$.