Is the solution of the problem, in how many ways can the digits $$0, 1, 2, 3, 4, 5, 6, 7, 8, 9$$
be arranged so that no even digit is in its original position, is $5!D_5$.
Where $D_n$ = $n! \left( 1-\dfrac{1}{1!}+\dfrac{1}{2!}+....+(-1)^n\dfrac{1}{n!} \right)$ and denotes derangement number.
Here we find expression of $D_n$ using inclusion exclusion principle.
$P_i$: $i^{th}$ object is at it's place.
$N(P_i)$ Number of object having property $P_i$
so we have to find $N(P_1P_2....P_n)$
We count the permutations in which no even number ends up in its original position (good permutations) by dividing into cases.
There are $5$ odd numbers. Perhaps $0$ end up their original positions, or perhaps exactly $1$, or perhaps exactly $2$, and so on up to $5$.
There are $D_{10}$ good permutations in which $0$ odds end up in their original position.
For good permutations with exactly $1$ odd in its original position, the odd can be chosen in $\binom{5}{1}$ ways. Everybody else must move, giving a total of $\binom{5}{1}D_9$.
For exactly $2$ odd in their original positions, the odds can be chosen in $\binom{5}{2}$ ways. Everybody else must move, giving a total of $\binom{5}{2}D_8$.
And so on (three more cases). The total count is $$\sum_{k=0}^5 \binom{5}{k}D_{10-k}.$$