[facebook] all combinations of 1 to n-1 summing to n