# Questionbank: Permutation and Probability

This is a very popular template. This question is based on counting the number of times a particular digit appears in a list.

## Combinatorics Basics

Q.7: If we listed all numbers from 100 to 10,000, how many times would the digit 3 be printed?
1. 3980
2. 3700
3. 3840
4. 3780

Choice A. 3980

## Detailed Solution

We need to consider all three digit and all 4-digit numbers.

Three-digit numbers: A B C. 3 can be printed in the 100’s place or 10’s place or units place.

=> 100’s place: 3 B C. B can take values 0 to 9, C can take values 0 to 9. So, 3 gets printed in the 100’s place 100 times

=> 10’s place: A 3 C. A can take values 1 to 9, C can take values 0 to 9. So, 3 gets printed in the 10’s place 90 times

=> Unit’s place: A B 3. A can take values 1 to 9, B can take values 0 to 9. So, 3 gets printed in the unit’s place 90 times

So, 3 gets printed 280 times in 3-digit numbers

Four-digit numbers: A B C D. 3 can be printed in the 1000’s place, 100’s place or 10’s place or units place.

=> 1000’s place: 3 B C D. B can take values 0 to 9, C can take values 0 to 9, D can take values 0 to 9. So, 3 gets printed in the 100’s place 1000 times.

=> 100’s place: A 3 C D. A can take values 1 to 9, C & D can take values 0 to 9. So, 3 gets printed in the 100’s place 900 times.

=> 10’s place: A B 3 D. A can take values 1 to 9, B & D can take values 0 to 9. So, 3 gets printed in the 10’s place 900 times.

=> Unit’s place: A B C 3. A can take values 1 to 9, B & C can take values 0 to 9. So, 3 gets printed in the unit’s place 900 times.

3 gets printed 3700 times in 4-digit numbers.
So, there are totally 3700 + 280 = 3980 numbers.

Correct Answer : 3980

## Our Online Course, Now on Google Playstore!

### Fully Functional Course on Mobile

All features of the online course, including the classes, discussion board, quizes and more, on a mobile platform.

### Cache Content for Offline Viewing

Download videos onto your mobile so you can learn on the fly, even when the network gets choppy!

## More questions from Number System

There are many ways to skin a CAT. To skin CAT, one needs to be good at finding how many ways there are.