Find the set {1,2,3 n} The sum of the elements of all subsets of

Find the set {1,2,3 n} The sum of the elements of all subsets of

Set {1,2,3 n} The sum of the elements of all subsets of
=(1+2+3+...+n)*2^(n-1)
=(1/2)(1+n)*n*2^(n-1)