Number of Numbers ending with 0
= 9*8*7*1 = 504
(rightmost position 0 i.e. one choice, rest of the 3 places with 9*8*7 ways..)
Number of Number ending with 2,4,6,8
= 8*8*7*4 = 1792
(rightmost position one out of four(2,4,6,8) number, 1st position from left is one out of eight (Except 0 and rightmost bit number) number, rest of the two choices can be any number i.e. 8*7 choices..)
Total = 1792 + 504 = 2296