My logic is since $3$ out of $4$ elements are chosen, each element would appear once. So a sequence would look like: $a\,b\,c\,x\,x\,x\,x\,x\,x\,x$
We have $7$ spots $x$ that can be whatever elements so: $3^7$
Choosing $3$ out of $4$ elements: $4\choose 3$$ = 4$ So in total, there are $4\cdot(3^7)$ sequences
Can someone tell me if this is right or not? Thanks
If you choose $10$ items from a pool of $3$ elements, you of course have $3^{10}$ possibilities, although that will include some where not all are used.
If you choose $10$ items from a pool of $2$ elements, you have $2^{10}$ outcomes, although again not every option will have both elements present.
Finally if there is only one element to choose from, there's no choice and a single outcome. $1^{10}=1$.
To get to exactly three elements present, we can choose the elements $\binom 43 = 4$ ways and then use inclusion-exclusion to eliminate the deficient options:
$$\binom 43 \left[ 3^{10} - \binom 32 2^{10} + \binom 31 1^{10} \right]$$