Numbers are to be formed between 1000 and 3000, which are divisible by 4, using the digits 1, 2, 3, 4, 5 and 6 without repetition of digits. Then the total number of such numbers is ________.
Solution
Core idea. A number is divisible by four when its last two digits form a multiple of four.
Concept refresher. A whole number , where is the number formed by its last two digits, is divisible by 4 exactly when is, because
Picture the situation. A number between 1000 and 3000 has four digits and starts with 1 or 2. Whether it is divisible by 4 depends only on its last two digits. So the number is built from a first digit, an allowed two-digit ending that does not reuse it, and one middle digit taken from what is left.
Approach. List the allowed endings, then count for each first digit the endings and the middle digit.
Step 1: The endings
The two-digit multiples of 4 with different digits from 1 to 6 are 12, 16, 24, 32, 36, 52, 56 and 64.
Step 2: First digit 1
The endings without the digit 1 are 24, 32, 36, 52, 56 and 64, six in all. The middle digit is any of the 3 unused digits, giving numbers.
Step 3: First digit 2
The endings without the digit 2 are 16, 36, 56 and 64, four in all, each with 3 middle digits: . The total is .
Answer. 30
Sanity check. Examples of both kinds: 1324 and 1564 start with 1, and 2136 and 2516 start with 2; each uses four different digits and ends in a multiple of 4.
Common wrong answers
- 48: Not excluding the endings that reuse the first digit gives .
Key takeaway
The trap. The first digit cannot appear again in the ending.
How toppers think. They list the allowed endings once and reuse the list for each first digit.
Remember. Divisible by 4: look at the last two digits.
More on Permutations
- The number of 4 -letter words, with or without meaning, each consisting of two vowels and two consonants…
- The number of ways, of forming a queue of 4 boys and 3 girls such that all the girls are not together, is:
- Three persons enter in a lift at the ground floor. The lift will go up to 10^th floor. The number of ways…
- All 55 on Permutations ›