Clear Notion Academy

JEE Main 2021, 25 February Shift 1, Q85 Mathematics PYQ: The total number of numbers, lying between 100 and 1000 that can be formed with the…

Question

[JEE Main 2021, 25 February Shift 1, Q85] The total number of numbers, lying between 100100 and 10001000 that can be formed with the digits 1,2,3,4,51,2,3,4,5, if the repetition of digits is not allowed and numbers are divisible by either 33 or 55, is ______.

Answer

Answer: 32

Hint

Use inclusion-exclusion on 3-digit numbers with distinct digits from {1,..,5}\{1,..,5\}: count (div by 3) + (div by 5) - (div by both).

Solution

Deconstruction\textbf{Deconstruction}: Count 3-digit numbers with distinct digits from {1,2,3,4,5}\{1,2,3,4,5\} divisible by 33 or by 55. Strategy\textbf{Strategy}: Numbers between 100100 and 10001000 are three-digit. Divisible by 33 means digit sum is a multiple of 33; divisible by 55 means last digit 55. Use inclusion-exclusion. Execution\textbf{Execution}: Divisible by 33: choose 33 distinct digits with sum divisible by 33: {1,2,3},{1,3,5},{2,3,4},{3,4,5}\{1,2,3\},\{1,3,5\},\{2,3,4\},\{3,4,5\} (sums 6,9,9,126,9,9,12). Each set can be arranged in 3!=63!=6 ways: 4×6=244\times6=24. Divisible by 55: last digit 55, the first two places filled from {1,2,3,4}\{1,2,3,4\} in order: 4×3=124\times3=12. Divisible by both (1515): last digit 55 and digit sum a multiple of 33, so the first two digits must be {1,3}\{1,3\} or {3,4}\{3,4\} (sums 99, 1212): 2×2=42\times2=4 numbers (135,315,345,435135,315,345,435). Required count =24+12−4=32=24+12-4=32. Verification\textbf{Verification}: Python enumeration of all 6060 permutations of 33 distinct digits from {1,2,3,4,5}\{1,2,3,4,5\} finds exactly 3232 that are divisible by 33 or 55. Final Answer\textbf{Final Answer}: 3232

More questions from JEE Main 2021 Mathematics PYQ

Practise the full set: JEE Main Mathematics PYQs 2021