The total number of six digit numbers, formed using the digits only and divisible by 6, is ______.
Answer: 81
Solution
A number is divisible by when it is divisible by both and . The only even digit available is , so the number must end in . The remaining five places are filled freely from , whose residues modulo are , , . With the fixed last digit contributing residue , divisibility by requires the five free digits to have residue sum . Each place supplies exactly one digit of each residue , so among the choices the three possible residue sums occur equally often, times each. Therefore the number of such six-digit numbers is .
JEE Main · 2023 · 01 Feb 2023 · Shift 2 · Integer answer