For any non-empty subset X of M={1,2,3,...,2021} , let aX be the sum of the greatest and smallest elements of X . Determine the arithmetic mean of all the values of aX , as X covers all the non-empty subsets of M .
Sign in to check your answer and unlock the solution.