We have a sequence of $10$ digits, how many ways are there that the sum of all the digits results into an even number?
Examples: $2464244482$, the sum of all the digits is an even number.
My Attempt
I listed out a few trails and saw that I need a even number of odd digits, and a even number of even digits.
$$\begin{aligned} \text{Odd} && \text{Even} \\ 0 && 10 \\ 2 && 8 \\ 4 && 6 \\ 6 && 4 \\ 8 && 2 \\ 10 && 0 \end{aligned}$$ Now the problem is I don't know how to put this into a combinations and permutations setting: My initial thought was: $$\binom{5}{1}^{10} + \binom{5}{1}^{8}\binom{5}{1}^{2} + \binom{5}{1}^{6}\binom{5}{1}^{4} + \binom{5}{1}^{4}\binom{5}{1}^{6} + \binom{5}{1}^{2}\binom{5}{1}^{8} + \binom{5}{1}^{10}$$ The English to what is above, "Choose an even digit from the group of even digits and we will do this $10$ times, or we choose an even number $8$ times then choose an odd number $2$ times." We keep doing this until we have gone through all the cases.
Is this a correct way of doing this, and is there a more simple way of solving this?