It is given 3 numbers : 1, 3, and 5, you were told to write numbers by adding those 3 numbers, for example: There are 8 ways of writing the number 6
6 = 1 + 5
6 = 5 + 1
6 = 3 + 3
6 = 1 + 1 + 1 + 3
6 = 1 + 1 + 3 + 1
6 = 1 + 3 + 1 + 1
6 = 3 + 1 + 1 + 1
6 = 1 + 1 + 1 + 1 + 1 + 1
How many ways are there to write the number 12. The problem is, I need to finish it quick. I can do it manually, but it'll take some time. Can anybody help me? Just giving hints would help a lot! Thanks