How can I find the number of dissimilar or distinct terms in $(1+x + x^2 +x^3)^n$ ?
I know it would be $\binom{n+r-1}{r-1}$ when they are $a , b, c ,d$ instead of $1 , x , x^2 , x^3$.
But how can I do it for this case? Can anyone please give me a hint?
What's the highest degree monomial you can get? What's the lowest degree? Can you get the ones in between?