You have three dice each with a different number of sides, and numbers ranging from $1$ to the number of sides.
$d_1 = 1 \sim 4$
$d_2 = 1 \sim 5$
$d_3 = 1 \sim 6$
How many possible combinations are out there rolling these three dice? ($[1,1,2]$ will be the same as $[1,2,1]$ and $[2,1,1]$)
I tried to hard figuring this out with combinations but I can't get my head around it.
First, let's figure out how many combinations we can have with three $6$-sided dice. It's the same as counting the number of solutions of the equation $$x_1+x_2+x_3+x_4+x_5+x_6=3$$ in nonnegative integers; by the so-called "stars and bars" formula, the answer is $\binom83=56$.
Not all of these $56$ combinations are possible with your actual set of dice, some of them have too many $5$'s and/or $6$'s; but the number of impossible combinations is small enough to count by hand.
Three sixes: $[6,6,6]$
Two sixes: $[6,6,1]$, $[6,6,2]$, $[6,6,3]$, $[6,6,4]$, $[6,6,5]$
One six and two fives: $[6,5,5]$
Three fives: $[5,5,5]$
That's $8$ impossible combinations, so the answer to your question is $56-8=48$.