How many ways are there to write the number 7 with the summands: 1, 2, and 3? For example, there are 7 ways to write the number 4:
{1 + 1 + 1 + 1} x 1
{2 + 1 + 1} x 3
{3 + 1} x 2
{2 + 2} x 1
I got the answer 44 by doing so:
{1 + 1 + 1 + 1 + 1 + 1 + 1} x 1
{2 + 1 + 1 + 1 + 1 + 1} x 6
{3 + 1 + 1 + 1 + 1} x 5
{2 + 2 + 1 + 1 + 1} x 12
{2 + 2 + 1 + 1} x 4
{3 + 2 + 2 + 1} x 12
{3 + 3 + 1} x 3
{3 + 2 + 2} x 3
The problem is, Im likely to miss a kind of summand, for example I forgot there is {2 + 2 + 1 + 1 + 1}, any tips on how to list them all? And how to get the cool number fonts people use here? Thanks!