Find the coefficient of term independent of x in the expansion of $(1+x+7/x)^7$.
This is my attempt. I found the number of ways by which we can create a term independent of x.
If we take all the 1's from each bracket, there are $7C7$ ways to do that. Next we take 1 "x"from a bracket and 1 "7/x" from another bracket and take 1 from the remaining brackets, there are $7C1.6C1.7$ ways to do that. Next we take 2"x" from two brackets and 2 "7/x" from another two brackets and take 1 from the remaining brackets, there are $7C2.5C2$ ways to do that. Similarly we take 3"x" from three brackets and 3 "7/x" from other three brackets and take 1 from the remaining brackets, there are $7C3.4C3$ ways to do that.
We add all these 5 terms to get the required coefficient.
But my answer is much lesser than what is given in the textbook.
What case I missed? Did I count wrong?

