This post posed an interesting question; its answer is negative. Now, we take the sum of squares into consideration. Let $a_1,a_2,a_3...a_k$ be $k$ positive integers such that any two of them are different.
Caculate: $$A=\displaystyle \sum_{i=1}^{k} a_i$$ $$B=\displaystyle \prod_{i=1}^{k} a_i$$ $$C=\displaystyle \sum_{i=1}^{k} a_i^{2}$$
$A,B$, $C$ and $k$ are known to us. Can we uniquely identify these $k$ positive integers? I think the answer is probably no, but I can't find a counterexample.
k=4, $a_i$ pairwise different
This seems to be the minimal solution in terms of A (i.e. there seems to be no solution with $a_1+a_2+a_3+a_4 < 42$):
$a_i$ = (4, 5, 15, 18) and $a_i$ = (3, 9, 10, 20) both yield (A,B,C) = (42, 5400, 590)
Next there are two solutions for A=45:
And many more:
k=4, some of the $a_i$ may be equal
Without the restriction that all $a_i$ must be pairwise different, there are additional smaller solutions:
k=5, $a_i$ pairwise different
Interestingly the solutions start around the same values for both A and max($a_i$):
k=5, some of the $a_i$ may be equal
[solutions for k=5 marked with '*' cannot be constructed from a solution for k=4 in a trivial way (by adding the same value to both tuples)]