Say you had to add up to 10 by only used the positive integers of 1 and 2, they can be arranged by 1111111111 as the most digits needed and 22222 as the least, or say 2212111 would be another combination, how many ways can you make 10 by doing this? (Bearing in mind 221122 and 112222 are different)
PS I'm 15, so sorry if it is an obvious question.
EDIT: Just thought seeing as each digit could have 2 possible values and if it is the second then you then you will only have 9 values, so, are the possible combinations not 1(all digits are ones) + 9(9 different places for a 2 to be) + (8*2-1)(16 places for two - 1 as they can't be in the same place), etc, or am I wrong?