**Tricks with numbers**

**Number of times a particular digit (except 0) appears in a certain range:**

The concept, the title of the post talks about, is best understood with the help of examples. This is our way of practical learning and using problem types to understand concepts.

**Example 1: Calculate how many times digit 3 appears in first hundred natural numbers?**

**Solution:** Well, there are two series of threeâ€™s here:

**1**. Those set of numbers, which have 3 at unit place.Â 3, 13,â€¦…..,83 ,93,Â Here we have Ten 3s at the unitâ€™s place

**2**. Those set of numbers, which have 3 at ten`s place.Â 30,31…39.Here we have ten 3s at the tenâ€™s place.Â So a total of 20 threes make an appearance here.

**Example 2: Calculate how many times digit 3 appears in natural numbers, which are less than one thousand?**

Solution: In previous example we calculated number of 3 s present till 100 are 20.

Now we look at three digit numbers and calculate how many times digit 3 appears in numbers between 100 and 1000 Well, there are three types of series here:

**1.** Those set of numbers, which have **3 at unit place.**

103, 113, 123, â€¦…..,193

203, 213 ,â€¦â€¦â€¦â€¦â€¦â€¦., 293

â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦.

903,913,â€¦â€¦â€¦â€¦â€¦â€¦â€¦.993

Here we have 90 numbers having 3 at the unitâ€™s place.

**2.** Those set of numbers, which have **3 at ten`s place.**

130, 131, 132, â€¦…..,139

230, 231, 232, â€¦…..,239

â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦.

930,931,â€¦â€¦â€¦â€¦â€¦â€¦â€¦.939

Here we have 90 numbers having 3 at the tenâ€™s place

**3.** Those set of numbers, which have **3 at hundred`s place**.

301, 301, 302, â€¦…..,399

Here we have hundred 3s at the hundred’s place.

Thus total number of times digit 3 appears in natural numbers, which are less than one thousand are 20+90+90+100=300

**Key Observations:**

*From 1-9, the digit 3 is used 1 time*

* From 1 – 99, the digit 3 is used 20 times.*

* From 1 â€“ 999, the digit 3 is used 300 times*

* From 1 â€“ 9999, the digit 3 is used 4000 times and so on*

Note: Above is true for any digit except 0.

If we say about number 4, then also ans would be same??

yes