Clear Notion Academy

JEE Main 2021, 18 March Shift 1, Q81 Mathematics PYQ: The number of times the digit 3 will be written when listing the integers from 1 to 1000…

Question

[JEE Main 2021, 18 March Shift 1, Q81] The number of times the digit 33 will be written when listing the integers from 11 to 10001000 is ______.

Answer

Answer: 300

Hint

Count by place value: treat numbers as 3-digit strings 000000 to 999999 and count how often 33 appears in each position.

Solution

Deconstruction\textbf{Deconstruction}: Count digit 33 occurrences in 1,2,…,10001,2,\ldots,1000. The number 10001000 has no 33, and 000000 contributes none, so we can count over all 33-digit strings 000000 to 999999. Strategy\textbf{Strategy}: By symmetry each of the three positions behaves identically. Execution\textbf{Execution}: Fix the digit 33 in the units place: the hundreds and tens digits are free, giving 10×10=10010\times10=100 numbers. The same holds for the tens place (100100) and the hundreds place (100100). Total number of 33's =100+100+100=300=100+100+100=300. Verification\textbf{Verification}: Direct brute-force count of the character '3' in the decimal strings of all integers 11 to 10001000 gives 300300. Final Answer\textbf{Final Answer}: 300300

More questions from JEE Main 2021 Mathematics PYQ

Practise the full set: JEE Main Mathematics PYQs 2021