NIMCET 2018 — Mathematics PYQ
NIMCET | Mathematics | 2018The number of natural numbers which are smaller than 2 × 10^8 and which contains only the digits 1 and 2 is
Choose the correct answer:
- A.
786
- B.
666
- C.
766
(Correct Answer) - D.
1066
766
Explanation
Concept:
The total number of natural numbers which are smaller than 2×108 and vhich contains only the digits 1 and 2 is the sum of natural numbers which contains only the digits 1 and 2 of 1 digit,2 digit ,3 digit ,4 digit, 5 digit ,6 digit ,7 digit ,8, digit,9 digit.
Calculations
Given Number is 2×108=20,00,00,000 i.e 9 digit number.
To find the total number of natural numbers which are smaller than 2×108 and which contains only the digits 1 and 2 is the sum of natural numbers which contains only the digits 1 and 2 of 1 digit, 2 digit , 3 digit , 4 digit, 5 digit , 6 digit , 7 digit , 8, digit. 9 digit.
Natural numbers which contains only the digits 1 and 2 of 1 digit =1,2=21
Natural numbers which contains only the digits 1 and 2 of 2 digits =11,12,21,22=4=22
Natural numbers which contains only the digits 1 and 2 of 3 digits =111,112,121,122,222,221,212,212,211=8
=23
continue in this way
Natural numbers which contains only the digits 1 and 2 of 4 digits =24
Natural numbers which contains only the digits 1 and 2 of 5 digits =25
Natural numbers which contains only the digits 1 and 2 of 6 digits =26
Natural numbers which contains only the digits 1 and 2 of 7 digits =27
Natural numbers which contains only the digits 1 and 2 of 8 digits = 28
Natural numbers which contains only the digits 1 and 2 of 9 digit i.e. 20,00,00,000 = 229=28
Now,
The total number of natural numbers which are smaller than 2×108 and which contains only the digits 1 and 2 = 1+22+23+24+25+26+27+28+28
= 766

