All Exams Test series for 1 year @ ₹349 only
Question

The number of numbers greater than 5000, less than 9000 and divisible by 3, that can be formed using the digits 0, 1, 2, 5, 9, if the repetition of the digits is allowed, is ______

Solution: Counting Numbers Divisible by 3

We need to count the numbers that satisfy these conditions:

  • Range: Greater than 5000 ($N > 5000$) and less than 9000 ($N < 9000$).
  • Digits allowed: {0, 1, 2, 5, 9}.
  • Repetition: Allowed.
  • Divisibility: Must be divisible by 3.

Number Structure

Numbers satisfying $5000 < N < 9000$ must be 4-digit numbers. The first digit ($d_1$) must be 5. The number format is $5d_2d_3d_4$, where $d_2, d_3, d_4$ can be any digit from the set {0, 1, 2, 5, 9}.

Divisibility by 3 Rule

A number is divisible by 3 if the sum of its digits is divisible by 3. The sum is $S = 5 + d_2 + d_3 + d_4$. We require $S \equiv 0 \pmod{3}$.

Since $5 \equiv 2 \pmod{3}$, the condition becomes $2 + d_2 + d_3 + d_4 \equiv 0 \pmod{3}$.

This simplifies to finding combinations where $d_2 + d_3 + d_4 \equiv 1 \pmod{3}$.

Counting Valid Combinations

The remainders of the allowed digits when divided by 3 are:

  • Remainder 0: {0, 9} (Count $n_0 = 2$)
  • Remainder 1: {1} (Count $n_1 = 1$)
  • Remainder 2: {2, 5} (Count $n_2 = 2$)

We need to count the ordered triplets $(d_2, d_3, d_4)$ such that the sum of their remainders modulo 3 is 1. Let $r_2, r_3, r_4$ be the remainders.

Case 1: Remainder sum is 1 (mod 3). The set of remainders is {1, 0, 0}.

The number of ways to arrange these remainders and pick corresponding digits is:

$(n_1 \times n_0 \times n_0) + (n_0 \times n_1 \times n_0) + (n_0 \times n_0 \times n_1)$

$= (1 \times 2 \times 2) + (2 \times 1 \times 2) + (2 \times 2 \times 1) = 4 + 4 + 4 = 12 \text{ ways.}$

Case 2: Remainder sum is 4 (which is equivalent to 1 mod 3). The sets of remainders are {2, 1, 1} and {2, 2, 0}.

- For permutations of {2, 1, 1}:

$(n_2 \times n_1 \times n_1) + (n_1 \times n_2 \times n_1) + (n_1 \times n_1 \times n_2)$

$= (2 \times 1 \times 1) + (1 \times 2 \times 1) + (1 \times 1 \times 2) = 2 + 2 + 2 = 6 \text{ ways.}$

- For permutations of {2, 2, 0}:

$(n_2 \times n_2 \times n_0) + (n_2 \times n_0 \times n_2) + (n_0 \times n_2 \times n_2)$

$= (2 \times 2 \times 2) + (2 \times 2 \times 2) + (2 \times 2 \times 2) = 8 + 8 + 8 = 24 \text{ ways.}$

The total number of valid combinations for $(d_2, d_3, d_4)$ is the sum of ways from Case 1 and Case 2: $12 + 6 + 24 = 42$.

Final Answer

There are 42 numbers that meet all the specified criteria.

Was this answer helpful?

Similar Questions

  1. Let A be a $3 \times 3$ matrix such that $A + A^T = O$. If $A\begin{bmatrix} 1 \\ -1 \\ 0 \end{bmatrix} = \begin{bmatrix} 3 \\ 3 \\ 2 \end{bmatrix}$, $A^2\begin{bmatrix} 1 \\ -1 \\ 0 \end{bmatrix} = \begin{bmatrix} -3 \\ 19 \\ -24 \end{bmatrix}$ and $\det(adj(2 \ adj(A + I))) = (2)^\alpha \cdot (3)^\beta \cdot (11)^\gamma$, $\alpha, \beta, \gamma$ are non-negative integers, then $\alpha + \beta + \gamma$ is equal to _________
  2. Let $\alpha = \frac{-1 + i\sqrt{3}}{2}$ and $\beta = \frac{-1 - i\sqrt{3}}{2}$, $i = \sqrt{-1}$. If $(7 - 7\alpha + 9\beta)^{20} + (9 + 7\alpha - 7\beta)^{20} + (-7 + 9\alpha + 7\beta)^{20} + (14 + 7\alpha + 7\beta)^{20} = m^{10}$, then $m$ is _________
  3. Let S be the set of the first 11 natural numbers. Then the number of elements in $A = \{B \subseteq S : n(B) \geq 2$ and the product of all elements of B is even is ________.

  4. The number of $3 \times 2$ matrices A, which can be formed using the elements of the set $\{-2, -1, 0, 1, 2\}$ such that the sum of all the diagonal elements of $A^T A$ is 5, is ______
  5. Let $P = [p_{ij}]$ and $Q = [q_{ij}]$ be two square matrices of order 3 such that $q_{ij} = 2^{(i + j - 1)} p_{ij}$ and $\det(Q) = 2^{10}$. Then the value of $\det(\text{adj}(\text{adj } P))$ is:
  6. The letters of the word "UDAYPUR" are written in all possible ways with or without meaning and these words are arranged as in a dictionary. The rank of the word "UDAYPUR" is
  7. Let $f$ be a function such that $3f(x) + 2f\left(\frac{m}{19x}\right) = 5x, x \neq 0$, where $m = \sum_{i=1}^{9} (i)^2$. Then $f(5) - f(2)$ is equal to
  8. The smallest positive integral value of $a$, for which all the roots of $x^4 - ax^2 + 9 = 0$ are real and distinct, is equal to
  9. $\left(\frac{1}{3} + \frac{4}{7}\right) + \left(\frac{1}{3^2} + \frac{1}{3} \times \frac{4}{7} + \frac{4^2}{7^2}\right) + \left(\frac{1}{3^3} + \frac{1}{3^2} \times \frac{4}{7} + \frac{1}{3} \times \frac{4^2}{7^2} + \frac{4^3}{7^3}\right) + \dots$ upto infinite terms, is equal to
  10. Let $z = (1 + i)(1 + 2i)(1 + 3i) \dots (1 + ni)$, where $i = \sqrt{-1}$. If $|z|^2 = 44200$, then $n$ is equal to _______

Important Questions from Algebra

  1. Let A be a $3 \times 3$ matrix such that $A + A^T = O$. If $A\begin{bmatrix} 1 \\ -1 \\ 0 \end{bmatrix} = \begin{bmatrix} 3 \\ 3 \\ 2 \end{bmatrix}$, $A^2\begin{bmatrix} 1 \\ -1 \\ 0 \end{bmatrix} = \begin{bmatrix} -3 \\ 19 \\ -24 \end{bmatrix}$ and $\det(adj(2 \ adj(A + I))) = (2)^\alpha \cdot (3)^\beta \cdot (11)^\gamma$, $\alpha, \beta, \gamma$ are non-negative integers, then $\alpha + \beta + \gamma$ is equal to _________
  2. Let $\alpha = \frac{-1 + i\sqrt{3}}{2}$ and $\beta = \frac{-1 - i\sqrt{3}}{2}$, $i = \sqrt{-1}$. If $(7 - 7\alpha + 9\beta)^{20} + (9 + 7\alpha - 7\beta)^{20} + (-7 + 9\alpha + 7\beta)^{20} + (14 + 7\alpha + 7\beta)^{20} = m^{10}$, then $m$ is _________
  3. Let S be the set of the first 11 natural numbers. Then the number of elements in $A = \{B \subseteq S : n(B) \geq 2$ and the product of all elements of B is even is ________.

  4. The number of $3 \times 2$ matrices A, which can be formed using the elements of the set $\{-2, -1, 0, 1, 2\}$ such that the sum of all the diagonal elements of $A^T A$ is 5, is ______
  5. Let $P = [p_{ij}]$ and $Q = [q_{ij}]$ be two square matrices of order 3 such that $q_{ij} = 2^{(i + j - 1)} p_{ij}$ and $\det(Q) = 2^{10}$. Then the value of $\det(\text{adj}(\text{adj } P))$ is:
Need Expert Advice?
More Questions from JEE Main

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App