Problem Statement
How many 4-digit even numbers can be formed from digits 0, 1, 2, 3, 4 if repetition is allowed?
Explanation
Even last digit choices: 0, 2, 4 gives three. First digit cannot be zero, so for last digit each case consider: If last is 0, first has 4 options (1–4). If last is 2 or 4, first has 4 options (0,1,3,4 or 0,1,2,3). Middle two each have 5 options. Count: Case last 0 → 4×5×5 = 100. Case last 2 or 4 → 2×(4×5×5) = 200. Total 300.
Code Solution
SolutionRead Only
100 + 200 = 300
Practice Sets
This question appears in the following practice sets:
