a) Two real numbers (not necessarily distinct) always form a suitable collection. Let n≥3 and consider the initial collection. Note that any a can be paired off with some b=a to form an eligible pair: Otherwise, a+b=s+1=a+c for distinct b,c=a, so b=c, contradicting the fact that the initial numbers are pairwise distinct. Hence the initial collection is suitable.
Choose an eligible pair a1,a2 and use the formula to replace them by b1. As the remaining numbers are pairwise distinct, there is at most one that cannot be paired with b1 to form an eligible pair, so there are at least n−2 candidates to form an eligible pair with b1. Let a3 be one such and use the formula to replace b1 and a3 by b2. Repeat the argument to replace b2 and some a4 by b3 and so on and so forth all the way down to some bn−2 and an (possibly, bn−2=an). These latter form an eligible pair, so they can be replaced by a single number.
b) Let c1,c2,…,cn be the initial numbers. The final number is ∑ici+∑i<jcicj. This is clearly the case if n=2, so let n≥3.
Consider a generic stage x1,x2,…,xm and let s=x1+x2+⋯+xm. We will prove that s+∑1≤i<j≤mxixj does not change upon passing to the next stage. Let x be the number obtained by replacing an eligible pair (xk,xℓ). Then s changes by x−xk−xℓ and the other sum changes by −xkxℓ−(xk+xℓ)(s−xk−xℓ)+x(s−xk−xℓ), so the overall change is
x−xk−xℓ−xkxℓ−(xk+xℓ)(s−xk−xℓ)+x(s−xk−xℓ).
Finally, express x in terms of s, xk and xℓ and carry out calculations to show that the overall change vanishes, whence the desired invariance.