From the relationship between a subset of real numbers (Let it ‘X’) and the subsets of X containing only r elements of it, a relation between the sum of n elements of set X and its all subsets containing only r elements holds true. The sum of set X can be calculated by using the sum of all subsets of X.