The number of 4 digit numbers formed by 0,1,2,3,4,5 (repetition of digits is allowed) such that it is divisible by 6 is
Open in App
Solution
X1 can be filled in 5 ways whereas X2 and X3 can be filled in 6 ways each.
For numbers to be divisible by 6, X4 must be even and X1+X2+X3+X4=3k (where k∈N)
Now if X1+X2+X3=3k, then X4=0 only one way
If X1+X2+X3=3k+1, then X4=2 only one way
If X1+X2+X3=3k+2, then X4=4 only one way
∴ To satisfy above mentioned conditions X4 can be filled in 1 way
Hence the required number of numbers=5×6×6×1=180