Number of -digit numbers (the repetition of digits is allowed) which are made using the digits , , , and and are divisible by is equal to:
JEE Mathematics 2023 Question with Solution
Answer
Correct answer:21
Step-by-step solution
Standard Method
Given: We have to form -digit numbers using the digits with repetition allowed.
Find: The number of such numbers divisible by .
A number divisible by must satisfy both:
- divisibility by
- divisibility by
So, the last digit must be . Also, the sum of digits must be divisible by .
From the extracted combinations shown in the solution, the possible combinations are:
- giving numbers
- giving numbers
- giving numbers
- giving numbers
- giving numbers
the solution also lists with sum , which is not divisible by . However, the total shown on the solution's is obtained from the valid counted combinations above.
Hence,
The source solution concludes the final count as and states the correct answer is .
Therefore, according to the provided the solution, the answer is .
Using the listed valid arrangements
Given: Divisibility by requires divisibility by and .
Find: Total number of valid -digit numbers.

The image and text on the solution's list the admissible patterns and count the numbers obtained from each. Adding the counts shown there gives:
So the source concludes that the total number is .
Common mistakes
Checking only divisibility by and forgetting divisibility by . A number ending in is not automatically divisible by ; the digit sum must also be divisible by .
Assuming repetition is not allowed. The question explicitly allows repetition, so numbers like and must be included.
Counting all permutations of a multiset as distinct without accounting for repeated digits correctly. For example, the digits in produce arrangements in general, but with the last digit fixed as , the count used in the solution must be applied carefully.
Practice more Combinations (C(n,r)) questions
Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.
Related questions
- From all the English alphabets, five letters are chosen and are arranged in alphabetical order. The total…Easy · JEE 2025
- Group A consists of 7 boys and 3 girls, while group B consists of 6 boys and 5 girls. The number of ways, 4…Medium · JEE 2025
- If ^n+1Cr+1: ^nCr: ^n-1Cr-1 = 55: 35: 21, then 2n + 5r is equal to:Medium · JEE 2024
- View questionMedium · JEE 2024
- If ^2nC3^nC3 = 101, then the ratio (n^2 + 3n): (n^2 - 3n + 4) is:Easy · JEE 2023
- Let the number of elements in sets A and B be five and two respectively. Then the number of subsets of A B…Easy · JEE 2023
