Mathematics · Permutations and Combinations

JEE Main 2026 — 24 Jan — Morning Shift — Question 23

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

Answer: 42

Numerical answer — enter this value.

Step-by-step solution

  1. Since 5000<N<90005000<N<9000, N=5abc‾N=\overline{5abc}, where a,b,c∈{0,1,2,5,9}a,b,c\in\{0,1,2,5,9\}.

  2. Divisibility by 3 gives 5+a+b+c≡0(mod3)5+a+b+c\equiv0\pmod3, so a+b+c≡1(mod3)a+b+c\equiv1\pmod3.

  3. The allowed digit residues modulo 3 have counts: 0:{0,9}0:\{0,9\} two choices, 1:{1}1:\{1\} one choice, 2:{2,5}2:\{2,5\} two choices.

  4. For one position, the residue-generating polynomial is 2+x+2x22+x+2x^2.

  5. For the three positions, (2+x+2x2)3=8+12x+30x2+25x3+30x4+12x5+8x6(2+x+2x^2)^3=8+12x+30x^2+25x^3+30x^4+12x^5+8x^6.

  6. Residue sum 1(mod3)1\pmod3 corresponds to exponents 11 and 44, so the count is 12+30=4212+30=42.

  7. The number 50005000 is not divisible by 3, so no subtraction is needed.

Answer: 42

Answer key and solution verified before publishing.

Practise Permutations and Combinations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2026
Subject
Mathematics
Chapter
Permutations and Combinations
Topic
Permutations