Question for Abhiram Rao - 6

How many positive integers less than 10000 are there such that they each have only 3 and/or 7 as their digit(s)?


The answer is 30.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Ashish Menon
May 13, 2016

From this question, we can understand that we need to calculate 1,2,3,4-digit numbers which has 3 and 7 as their digits because 10000 is the smallest 5 - digit numbers.
1 digit numbers required = 2 (three and seven)
2 digit numbers required = 2 × 2 = 4 (ones digit can be 3 or 7 and tens digit can be 3 or 7)
3 digit numbers required = 2 × 2 × 2 = 8 (ones digit, tens digit, hundreds digit can be 3 or 7)
4 digit numbers required = 2 × 2 × 2 × 2 = 16 (ones digut, tens digit, hundreds digit, thousands digit can be 3 or 7)


So, the answer is 2 + 4 + 8 + 16 = 30 \boxed{30} .

i did the same way.

Niranjan Khanderia - 2 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...