Join WhatsApp Icon JEE WhatsApp Group
Question 24

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______.


Correct Answer: 42

The digits given are $${0,1,2,5,9} $$.
We need to make 4-digit numbers that are $$>5000$$ and $$<9000$$, and are divisible by 3.

Thus, the number is of the form $$5abc$$. The first numbe rhas to be 5 otherwise the numbers formed will not be in the given range.

For divisibility by 3 $$ 5+a+b+c \equiv 0 \pmod{3} $$ , essentially sum of the digits should be either 0 or a multiple of 3. 

We form the following cases: 

Case 1: All digits different

Possible set of selection:  $$ (5,0,1,9), \quad \text{sum } = 15 \equiv 0 $$

The place of 5 is fixed, the remaining three digits can be arranged in $$ 3! = 6 $$

Hence, 6 possible numbers can be obtained. 

Case 2: Two alike, two different

If 5 is the number that is repeated, then the possible selections are: $$ (5,5,0,2),\ (5,5,2,9) $$

Since the 5 at the first place is fixed, in each of these, the numbers can be arranged in $$ 3! = 6 \text{ ways} $$ 

Otherwise, if 5 is not the number repeated then the valid selections are $$(5$$, $$0$$, $$0$$, $$1)$$, $$\ (5$$, $$1$$, $$1$$, $$2)$$, $$\ (5$$, $$2$$, $$2$$, $$0)$$, $$\ (5$$, $$2$$, $$2$$, $$9)$$, $$\ (5$$, $$1$$, $$9$$, $$9)$$

In these cases, the digits can be arranged in $$ \frac{3!}{2!} = 3 \text{ ways} $$

So, the total number of numbers obtained in this case is $$ 5 \cdot 3 + 2 \cdot 6 = 15 + 12 = 27 $$

Case 3: Three alike, one different

If 5 is the digit that is repeated 3 times, the valid selections are: $$ (5,5,5,0),\ (5,5,5,9) $$

The digits can be arranged in $$ \frac{3!}{2!} = 3 \text{ ways} $$

If any other digit other than 5 is repeated 3 times, then we can have numbers 5000, 5222 and 5999 none of which are divisible by 3. hence they are not valid choices. 

So, the total number of numbers obtained in this case is $$3+3=6 \text{ ways}$$

Case 4: Two pairs

The only valid arrangement here is $$ (5,5,1,1) $$ , and the digits can be arranged in  $$ \frac{3!}{2!} = 3 $$. So the total number of numbers obtained is 3. 

Hence, the total number of such numbers is  $$ 6 + 27 + 6 + 3 = 42 $$

Get AI Help

Video Solution

video

Create a FREE account and get:

  • Free JEE Mains Previous Papers PDF
  • Take JEE Mains paper tests

JEE Quant Questions | JEE Quantitative Ability

JEE DILR Questions | LRDI Questions For JEE

JEE Verbal Ability Questions | VARC Questions For JEE

Free JEE Topicwise Questions

JEE Rotational MotionJEE Units & MeasurementsJEE Atomic StructureJEE GravitationJEE Periodic Table & PeriodicityJEE StatisticsJEE Inverse Trigonometric FunctionsJEE Magnetism & Magnetic MaterialsJEE Sequences & SeriesJEE MatricesJEE Alternating CurrentsJEE Carboxylic AcidsJEE Permutations & CombinationsJEE Work, Energy & PowerJEE Electromagnetic InductionJEE Electronic DevicesJEE d and f-Block ElementsJEE Chemical KineticsJEE Heat TransferJEE Three Dimensional GeometryJEE Magnetic Effects of CurrentJEE Hydrocarbons - AromaticJEE Electromagnetic WavesJEE Aldehydes & KetonesJEE Hydrocarbons - AlkanesJEE Applications of DerivativesJEE EquilibriumJEE Indefinite IntegrationJEE Chemical ThermodynamicsJEE ElectrochemistryJEE ProbabilityJEE BiomoleculesJEE Continuity & DifferentiabilityJEE Kinetic Theory of GasesJEE Vector AlgebraJEE Hydrocarbons - AlkynesJEE Differential EquationsJEE Current & ResistanceJEE Straight LinesJEE WavesJEE Redox ReactionsJEE Hydrocarbons - AlkenesJEE DeterminantsJEE SolutionsJEE Ray OpticsJEE Dual Nature of Matter & RadiationJEE Chemical Bonding & Molecular StructureJEE Complex NumbersJEE Sets, Relations & FunctionsJEE Electric Charges & FieldsJEE Laws of MotionJEE Fluid MechanicsJEE Basic Concepts in ChemistryJEE Trigonometric FunctionsJEE LimitsJEE Laws of ThermodynamicsJEE Kinematics - 2D MotionJEE p-Block Elements (Groups 13-18)JEE Simple Harmonic MotionJEE Electric Potential & CapacitanceJEE Coordination CompoundsJEE JEE 2D GeometryJEE CirclesJEE Definite IntegrationJEE EMF & Circuit AnalysisJEE Surface TensionJEE Atoms & NucleiJEE Laboratory Experiments - XIJEE Number SystemJEE Basic Principles of Organic ChemistryJEE Wave OpticsJEE Quadratic EquationsJEE Alcohols, Phenols & EthersJEE Organic Compounds with HalogensJEE DifferentiationJEE Conic SectionsJEE Nitrogen-Containing CompoundsJEE ElasticityJEE Practical Organic ChemistryJEE Kinematics - 1D MotionJEE Purification & CharacterisationJEE Binomial Theorem
Ask AI