Let n be a positive integer. Prove that there are 2^(n−1) ways to write n as a sum of positive integers, where the order of the sum matters. For example, there are 8 ways to write 4 as the sum of positive integers: 1 + 1 + 1 + 1, 1 + 1 + 2, 1 + 2 + 1, 1 + 3, 2 + 1 + 1, 2 + 2, 3 + 1, and 4. Hint: count each of the possibilities for the first value in the sum, and add these together. You may use the fact that 1 + 2 + 4 + . . . + 2k = 2^(k+1) − 1.
I thought that you would use induction to solve for the base case, and show that there are bounds 1 < x < 2^k such that the 2^(k-1) is within those bounds and solvable, but I'm not sure if this is the right method.