Hi All,
This is the easiest way to do it : All (minus) the odd one = Total codes
But I did it the following way by using the basics of the counting the cases (was explaining my self while I was doing this problem - otherwise close to half of PnC and probability problems I do wrong by not understanding the type of cases or favorable events and the total outcomes - so this solution is for those who are having hard time understanding concept and application of PnC like me- Excuse me, if I wrote too much):
Conditions given in the questions : the product has to be even and repetition is allowed
Numbers we have : 2, 4 and 5 => two evens and one odd
Total places : 3
Cases : EEE + EEO + EOO
Counting:
EEE = 2*2*2*(3!/3!) (repetition allowed=>2*2*2 and by anagram method even numbers become identical so EEE can be arranged in 3!/3! ways = 1 way)
EEO = 2*2*1*(3!/2!) (repetition allowed=>2*2*1 and by anagram method even numbers become identical so EEO can be arranged in 3!/2! ways = 3 ways)
EOO = 2*1*1(3!/2!) ( same as the case as above)
Total Different codes : Total Sum = 26
Regards,
wikdwik