Q. The total number of -digit numbers, the sum of whose digits is even, is equal to

 2578  195 Permutations and Combinations Report Error

Solution:

Let the number be .
As is even,
there are following cases:
(i) all are even
ways
(ii) even and are odd
ways
(iii) odd, and even
ways
(iv) odd, even, odd
Total ways