Q. Number of $4$-digit numbers (the repetition of digits is allowed) which are made using the digits $1,2,3$ and $5$, and are divisible by $15$, is equal to

Numerical Question

This is a numerical-answer question. The correct answer is shown below.

Explanation

[Solution by Dr. Abubacker] Divisible by $5$: the last digit is $5$. Divisible by $3$: the digit sum is a multiple of $3$, so the first three digits must have a sum $\equiv1\pmod3$ (since $5\equiv2$). The residues of the digits mod $3$ are: $3\to0$, $1\to1$, $2\to2$, $5\to2$. Generating function for one digit: $1+x+2x^2$. Its cube modulo $x^3-1$ is $22+21x+21x^2$ (compute $(1+x+2x^2)^2\equiv5+6x+5x^2$, then multiply by $1+x+2x^2$). The coefficient of $x^1$ is $21$. So there are $21$ such numbers. Answer: 21.

Dr. Abubacker
Reviewed by Dr. Abubacker

Physics Educator & NEET/JEE Specialist

Ph.D. in Physics with 19+ years of teaching experience.

Want to attempt the full paper?
View Full Paper Take Full Paper Online