The answer is 1001.
Let S={1,2,⋯,n},n∈N. Let mA,MA represent the minimum and maximum elements of a non-empty subset A of S, respectively. Then the arithmetic mean of all αA is
2n−11A⊂SA=∅∑(mA+MA).
Since for 1⩽k⩽n, there are 2n−k subsets A satisfying mA=k, we have
∑A⊂SA=∞mA=1⋅2n−1+2⋅2n−2+⋯+k⋅2n−1+⋯+n⋅20.
And for 1⩽k⩽n, there are 2k−1 subsets A such that MA=k, hence
∑AMA=n⋅2n−1+(n−1)2n−2+⋯+(n−k+1)2n−k+⋯+1⋅20.(3)
Adding (2) and (3) gives
∑A⊆S(mA+MA)=(n+1)(2n−1+2n−2A=∅+⋯+2+1)=(n+1)(2n−1).
Combining (1), we know that the arithmetic mean of all such αA is n+1.
From (2), we get
2∑A⊂SmA=2n+2⋅2n−1+⋯A=∅+(t+1)2n−I+⋯+n⋅2.
Subtracting (2) from (A), we get
A⊂S∑nA=∅=2n+2n−1+⋯+2n−x+2−n=2u+1−n−2.
Similarly, we have
A⊂SA=∅∑M△=(n−1)2n+1
Finally, let 1⩽i<i⩽n, then the number of subsets A⊂S with i and 1 as the minimum and maximum elements, respectively, is 2i−1−1, and in this case, αA=i+j. Noting that α{1}=2i,1⩽i⩽n. Therefore, we have the identity
2∑1=1ni+∑1⩽i<j⩽n(i+j)2i−1−1=(n+1)⋅(2n−1),
or ∑1⩽i<j=n(i+1)2j−1=2(n+1)(2n−n−1) (8)