How many arrangements of the numbers $1,1,1,2,2,3,3,3,4,4$ are there in which the adjacent numbers are not equal?
I believe that the total number of possible arrangements is $\frac{10!}{ 3! \cdot 2! \cdot 3! \cdot 2!}$, however, I do not understand what else I need to calculate so that I can subtract it from the total.
I believe that this is called the inclusion-exclusion principle
To find what to subtract, use the inclusion-exclusion. That is do something like this: If the first two digits are $1$'s, the number of arrangements is compute it, add the number of arrangements where the first two digits are $2$'s, $3$s or $4$s. Repeat with the number of arrangements where the second and the third digits are the same, etc. Then you would have to subtract the numbers of arrangements that belong to two of these sets. You will not need to also count triple intersections because those are fortunately empty.