$(a + b + c + d)^{10}$
how many terms have coefficients that aren't divisible by $5$?
I know that each of the following $a^{10}, b^{10}, c^{10}, d^{10} $, their coefficient is 1, which isn't divisible by 5. I also know that the sum of all the coefficients is :
$a=b=c=d=1$,
$(1+1+1+1)^{10} = 4^{10} = 1,048,576$
so if I subtract the coefficients I found so far, I'll still have 1,048,572, which still isn't divisible by 5, which means there's at least 1 more coefficient that's not divisible by 5. got stuck here. probably not even thinking in the right direction. please help :)
Hint: The coefficient of $a^{x}b^{y}c^{z}d^{w}$ in $(a+b+c+d)^{10}$ is $$\binom{10}{x}\binom{10-x}{y}\binom{10-x-y}{z}\binom{10-x-y-z}{w}.$$ And for $r = 0,\ldots,10,$ we have $$\binom{10}{r} = \dfrac{10!}{r!(10-r)!},$$ which is not divisible by $5$ if and only if $r = 0,5$, or $10$. (Why?)