combinations

how many times one have to write a digit 5 on writing all numbers from 1 to 1000


The answer is 300.

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.

2 solutions

We assume all number less than 1000 1000 are 3 3 digit number. 1 1 -digit and 2 2 -digit number can be represented as 3 3 -digit number by adding 0 0 (or 0's) at first. Now, there are total 1000 × 3 = 3000 1000\times 3=3000 digits. By symmetry all digits( 0 0 to 9 9 ) are equal in number. So there are 3000 10 = 300 \frac{3000}{10}=\fbox{300}

Anandhu Raj
Jan 8, 2015

In general, if you write all numbers from 1 to 1 0 n 10^{ n } , 5 will be written n ( 10 n 1 ) n({ 10 }^{ n-1 }) times.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...