Q.
The total number of three-digit numbers, divisible by 3, which can be formed using the digits 1, 3, 5, 8, if repetition of digits is allowed, is
A) 21
B) 20
C) 22
D) 18
Explanation
[Solution by Dr. Abubacker] Residues mod 3: $1\to1$, $3\to0$, $5,8\to2$. Digit-sum divisible by 3: residues $(0,0,0)$: $1$; $(1,1,1)$: $1$; $(2,2,2)$: $2^3=8$; one of each $(0,1,2)$: $3!\times1\times1\times2=12$. Total $22$. Answer (3).
Reviewed by Dr. Abubacker
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.