Problem 2465 · Easy

Number of Distinct Averages

Sort the values and repeatedly pair the smallest with the largest; a set of pair sums counts the distinct averages.

Open the interactive visualisation