I feel the answer should be $nC3 \times 3! \times 10^{n-3}$.
$\endgroup$ 41 Answer
$\begingroup$The number of $n$ digit sequences is $10^n$. The number missing $1$ is $9^n$, so we would subtract $3\cdot 9^n$ to remove the ones missing $1, 2, \text { or }3$, but now we have removed the ones missing $1$ and $2$ (or any other pair) twice so we have to add back in $3 \cdot 8^n$. Now the ones missing all of $1,2,3$ have been removed three times and added back three times, so we subtract them once more. Finally we have $10^n-3\cdot 9^n + 3 \cdot 8^n-7^n$. This is known as the inclusion-exclusion principle
$\endgroup$