MathDB
Sum set diameters: try to do it with the least calculation!

Source: Brazilian Math Olympiad, 2002

November 15, 2005
combinatorics unsolvedcombinatorics

Problem Statement

For any non-empty subset AA of {1,2,,n}\{1, 2, \ldots , n\} define f(A)f(A) as the largest element of AA minus the smallest element of AA. Find f(A)\sum f(A) where the sum is taken over all non-empty subsets of {1,2,,n}\{1, 2, \ldots , n\}.