I am not looking for an answer on this. Just need to clarify why my approach is failing -
$N_1 + N_2 + N_3$, i.e. single digit, double digit, 3 digit
single $= 2, 4, 6, 8$, i.e 4
double = X non-zero $= 8 \cdot 4 = 32$ X zero $= 9 \cdot 1 = 9$
Now the confusing part three digit, breaking into 4 cases
X zero zero $= 9$
X nz nz $= 7 \cdot 8 \cdot 4 = 224$
X z nz $= 8 \cdot 1 \cdot 4 = 32$
X nz z $= 8 \cdot 9 \cdot 1 = 72$
Three digit total comes to $= 9 + 224 + 32 + 72 = 337$. This answer is wrong and it should be $328$. What am I missing in the logic? Please suggest.