What is the sum of all such possible numbers given the following conditions that A 4 digit number is formed using the digits 0,2,4,6,8 without repeating any one of them.?
MyApproach:
If you fix 8 as the last digit, you see that there are 3⋅3⋅2 ways to complete the number. Thus, 8 appears 18 times as the last digit.
By the same logic, if we enumerate all possible numbers using these 5 digits, each number appears 18 times in each of the 3 positions.
At unit Place if we place 8 we can form 4⋅3⋅2=24 times as the unit place
In total, we have (2+4+6+8)(18)(111)+(2+4+6+8)(24)(1000) +(0)(24)(111)=519960
Is my Approach correct towards the problem?Can Anyone guide me if there exist a shorter approach?