Total numbers of 3-digit numbers that are divisible by 6 and can be formed by using the digits 1, 2, 3, 4, 5 with repetition, is ______.
Answer: 16
Solution
A number is divisible by when it is even with digit sum divisible by , so its units digit is or . Modulo the available digits split as of residue , of residue and of residue . Counting ordered pairs for the first two places, the digit sum is in ways respectively. If the units digit is , the pair needs , giving numbers; if it is , it needs , giving numbers. Therefore the total number of such three-digit numbers is .
JEE Main · 2023 · 13 Apr 2023 · Shift 2 · Integer answer