A number is given. For a non-empty subset of the set , let denominate respectively the smallest and the greatest element of the set and let .

Determine, according to , the sum of numbers for all non-empty subsets of the set

Could anyone help me with this? I don't even have a clue on how to approach this problem...