The Wayback Machine - https://web.archive.org/web/20240814041306/https://www.geeksforgeeks.org/how-many-3-digit-numbers-can-be-made-with-digits-1-2-and-3/
Open In App

How many 3-digit numbers can be made with digits 1, 2, and 3?

Last Updated : 30 Jul, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

How many 3-digit numbers can be made with digits 1, 2, and 3?

(i) repetition of the digits is allowed?

Solution:

Answer: 27

Method:

Here, Total number of digits = 3

Let us assume the 3-digit number be ABC.

Now the number of digit available for A=3

As repetition is allowed,

So the number of digits available for B and C will also be 3 (each).

Thus, The total number of 3-digit numbers that can be formed = 3 × 3 × 3 = 27

(ii) repetition of the digits is not allowed?  

Solution:

Answer: 6

Method:

Here, Total number of digits = 3

Let us assume 3-digit number be ABC.

Now the number of digits available for A = 3,

As repetition is not allowed,

So the number of digits available for B = 2 (As one digit has already been chosen at A),

Similarly, the number of digits available for C = 1.

Thus, the total number of 3-digit numbers that can be formed = 3 × 2 × 1 = 6.

Number System is a mathematical value used for counting and measuring objects, and for performing arithmetic calculations. It is a system of writing for expressing numbers. It gives a special representation to every number and represents the arithmetic and algebraic form of the number. It allows us to operate arithmetic operations like addition, subtraction, multiplication, and division.

An equation is a statement that connects two algebraic expressions of the same values with the ‘=’ sign. For example: In equation 9x + 4 = 7, 9x + 4 is the left-hand side expression and 7 is the right-hand side expression connected with the ‘=’ sign.

What is a Number?

A word or symbol that indicates a quantity is known as a number. The numbers 2, 4, 6, etc. are even numbers and 1, 3, 5, etc. are odd numbers. A number is a value created by the merger of integers. These numbers are used to represent algebraic quantities. An integer is a sign from a set of 10 characters ranging from 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Any combination of integers represents a number. The size of a Number depends on the count of digits that are used for its formation. For Example: 126, 128, 0.356, -12, 78, 94 etc.

Types of Numbers

Numbers are of various types depending upon the patterns of digits that are used for their creation. Various symbols and rules are also applied to Numbers which classifies them into a variety of different types:

  • Integers: Integers are the collection of Whole Numbers plus the negative values of the Natural Numbers. Integers do not include fraction numbers i.e. they can’t be written in a/b form. The range of Integers is from the Infinity at the Negative end and Infinity at the Positive end, including zero. Integers are represented by the symbol Z. Integers are those numbers whose fractional part is 0 like -3, -2, 1, 0, 10, 100.
  • Natural Numbers: Natural Numbers are numbers that range from 1 to infinity. These numbers are also known as Positive Numbers or Counting Numbers. We can also represent Natural numbers by the symbol N. All the integers which are greater than 0 are natural numbers, Counting numbers like 1, 2, 3, 4, 5, 6.
  • Whole Numbers: Whole Numbers are the same as Natural Numbers, but they also include ‘zero’.  Whole numbers can also be represented by the symbol W. Whole numbers are all natural numbers and 0 (zero).
  • Prime Numbers and Composite Numbers: All those numbers which are having only two distinct factors, the number itself and 1, are called prime numbers. All the numbers which are not Prime Numbers are termed as Composite Numbers except 0. Zero is nor prime nor a composite number. Some prime numbers are 2, 3, 5, 53, 59, 97, and 191. All numbers greater than 1 are composite numbers. Some composite numbers are 4, 6, 9, 15, 16, and 100.
  • Fractions: Fractions are the numbers that are written in the form of a/b, where, a belongs to Whole numbers and b belongs to Natural Numbers, i.e., b can never be 0. The upper part of the fraction i.e. a is termed as a Numerator whereas the lower part i.e. b is called the Denominator. Example: -1/5, 0.25, 2/5, 18/4,…
  • Rational Numbers: Rational numbers are the numbers that can be represented in the fraction form i.e. a/b. Here, a and b both are integers and b≠0. All the fractions are rational numbers but not all the rational numbers are fractions. Example: -2/5, 0.54, 1/5, 13/4,…
  • Irrational Numbers: Irrational numbers are the numbers that can’t be represented in the form of fractions i.e. they can not be written as a/b. Example: √2, √3, √.434343, π,…
  • Real and Imaginary Numbers: Real numbers are numbers that can be represented in decimal form. These numbers include whole numbers, integers, fractions, etc. All the integers belong to Real numbers but all the real numbers do not belong to the integers. Imaginary Numbers are all those numbers that are not real numbers. These numbers when squared will result in a negative number. The √-1 is represented as i. These numbers are also called complex numbers. Example: √-2, √-5,…

Permutations And Combinations 

Permutation is the different arrangements of a given number of components taken one by one, or some, or all at a time. For example, if we have two components X and Y, then there are two possible arrangements, XY and YX.

The number of permutations when ‘r’ elements are arranged out of a total of ‘n’ elements is 

nPr = n!/(n – r)! 

For example, let n = 4 (A, B, C and D) and r = 2 (All permutations of size 2). The answer is 4!/(4-2)! = 12. So, the twelve permutations are AB, AC, AD, BA, BC, BD, CA, CB, CD, DA, DB, and DC.

Combination is the different selections of a given number of components taken one by one, or some, or all at a time. For example, if we have two components A and B, then there is only one way to select two items, we select both of them.

Number of combinations when ‘r’ elements are selected out of a total of ‘n’ elements is 

nCr = n!/[(r!) × (n – r)!]

For example, let n = 4 (A, B, C and D) and r = 2 (All combinations of size 2). The answer is 4!/((4-2)! × 2!) = 6. So, the six combinations are AB, AC, AD, BC, BD, CD.

nCr = nC(n –r)

Note: In the same example, we have different cases for permutation and combination. If we talk about permutation, AB and BA are two different things but for selection, AB and BA are same.

Similar Questions

Question 1: How many 3 digit numbers can be made with 4 digits 1, 2, 3, 4?

(i) repetition of the digits is allowed?

Solution:

Answer: 64

Method:

Here, Total number of digits = 4

Let us assume the 3-digit number be ABC.

Now the number of digit available for A=4

As repetition is allowed,

So the number of digits available for B and C will also be 4 (each).

Thus, The total number of 3-digit numbers that can be formed = 4 × 4 × 4 =64

(ii) repetition of the digits is not allowed?  

Solution:

Answer: 24

Method:

Here, Total number of digits = 4

Let us assume 3-digit number be ABC.

Now the number of digits available for A = 4,

As repetition is not allowed,

So the number of digits available for B = 3 (As one digit has already been chosen at A),

Similarly, the number of digits available for C = 2.

Thus, The total number of 3-digit numbers that can be formed = 4 × 3 × 2 = 24

Question 2: How many 3-digit numbers can be formed from the digits 1, 2, 3, 4, and 5 assuming that –  

(i) repetition of the digits is allowed?

Solution:  

Answer: 125

Method:

Here, Total number of digits = 5

Let 3-digit number be ABC.

Now the number of digits available for A = 5,

As repetition is allowed,

So the number of digits available for B and C will also be 5 (each).

Thus, The total number of 3-digit numbers that can be formed = 5 × 5 × 5 = 125.

(ii) repetition of the digits is not allowed?  

Solution:

Answer: 60

Method:

Here, Total number of digits = 5

Let 3-digit number be ABC.

Now the number of digits available for A = 5,

As repetition is not allowed,

So the number of digits available for B = 4 (As one digit has already been chosen at A),

Similarly, the number of digits available for C = 3.

Thus, The total number of 3-digit numbers that can be formed = 5 × 4 × 3 = 60.

Question 3: How many 3-digit even numbers can be formed from the digits 1, 2, 3, 4, 5, 6 if the digits can be repeated?

Solution:

Answer: 108

Method:

Here, Total number of digits = 6

Let 3-digit number be ABC.

Now, as the number should be even so the digits at unit place must be even, so number 

of digits available for C = 3 (As 2, 4, 6 are even digits here),

As the repetition is allowed,

So the number of digits available for A = 6,

Similarly, the number of digits available for B = 6.

Thus, The total number of 3-digit even numbers that can be formed = 6 × 6 × 3 = 108

Question 4: How many 4-letter code can be formed using the first 10 letters of the English alphabet if no letter can be repeated?  

Solution:

Answer: 5040

Method:

Here, Total number of letters = 10

Let the 4-letter code be 1234.

Now, the number of letters available for 1st place = 10,

As repetition is not allowed,

So the number of letters possible at 2nd place = 9 (As one letter has already been 

chosen at 1st place),

Similarly, the number of letters available for 3rd place = 8,

and the number of letters available for 4th place = 7.

Thus, The total number of 4-letter code that can be formed = 10 × 9 × 8 × 7 = 5040



Similar Reads

How many 4 digit numbers can be formed by using the digits 1 to 9, if repetition of digits is not allowed?
Answer:Repetition of the digit is not allowed. So, for the first digit we have 9 option for second digit we have 8 option for third digit we have 7 option and for fourth digit we have 6 option There are total 9 digit from which we have to select 4, repetition is not allowed Total no. of ways = 9P4 = 9!/(9-4)! = 9!/5! = 3024 Permutation is known as
4 min read
How many 4 digit numbers can be formed using the numbers 1, 2, 3, 4, 5 with digits repeated?
In mathematics, permutation relates to the function of ordering all the members of a group into some series or arrangement. In other words, if the group is already directed, then the redirecting of its components is called the process of permuting. Permutations take place, in more or less important ways, in almost every district of mathematics. The
5 min read
How many 3-digit even numbers can be formed by using the digits 1,2,3,4, and 5?
In mathematics, permutation is known as the process of arranging a set in which all the members of a set are arranged into some series or order. The process of permuting is known as the rearranging of its components if the set is already arranged. Permutations take place, in more or less important ways, in almost every area of mathematics. They fre
5 min read
How many different eight-digit numbers can be written using the digits 1, 2, 2, 3, 3, 4, 5?
A number is basically a count or measurement. It is a mathematical value used for counting and measuring objects, and for performing arithmetic calculations. Numbers are broadly classified into the following categories, Natural NumbersWhole NumbersIntegersRational NumbersIrrational Number Here, the categories in focus would be natural numbers and w
5 min read
How many committees can be made from 15 people that have at least 2 people in each committee?
In mathematics, permutation is known as the process of arranging a set in which all the members of a set are arranged into some series or order. The process of permuting is known as the rearranging of its components if the set is already arranged. Permutations take place, in more or less important ways, in almost every area of mathematics. They fre
3 min read
How many different rectangles can be made with a perimeter of 24 cm?
Rectangle is a closed two-dimensional figure composed of four sides and four vertices. All angles of the rectangle are 90 degrees. A rectangle with all sides equal is equivalent to a square. A rectangle is composed of two pairs of parallel sides, length, and width respectively. Perimeter of Rectangle The perimeter of a rectangle is the length of th
6 min read
In how many ways a committee of 3 can be made from a total of 10 members?
The permutation is known as the process of organizing the group, body, or numbers in order, selecting the body or numbers from the set, is known as combinations in such a way that the order of the number does not matter. This is one basic difference between both the definitions and that is what makes their formulae different from each other. Permut
4 min read
How many 4 letter code words can be made from the alphabet with all letters unique?
In mathematics, permutation connects to the process of collecting all the partners of a party into some sequence or format. In different phrases, if the party is already executed, then the redirecting of its members is called the process of permuting. Permutations take place, in more or less significant ways, in nearly every community of mathematic
7 min read
How many different 3 letter combinations can be made from Alphabet?
Answer: 15600 combinations can be made when repetition is not allowed and 17576 combinations can be made when repetition of alphabets is allowed.In this article, we have learned more about the combination definition, its formula and its uses in detail. CombinationsIt is defined as the process of choosing one, two, or a few elements from a given seq
4 min read
A book has 400 pages numbered 1,2,3 and so on. How many times does the digit 3 appear in the page numbers?
Method 1: Using Intuition We can solve this by analyzing the occurrences of the digit 3 across different page ranges. Analysing Page Ranges:The explanation considers the page numbers in ranges of 10 pages: From page 1 to page 10, there's only one occurrence of the digit 3.From page 11 to page 20, again, only one occurrence of the digit 3.From page
4 min read
three90RightbarBannerImg