Consider the 3-digit number which are written by using only the digits 1,2,3,4,5. How many of these have two equal digits and one

Question

Consider the 3-digit number which are written by using only the digits 1,2,3,4,5. How many of these have two equal digits and one different digit?

in progress 0
Trúc Chi 1 month 2022-12-21T06:54:45+00:00 2 Answers 0 views 0

Answers ( 2 )

    0
    2022-12-21T06:56:21+00:00
    Answer:
    Step-by-step explanation:
    Three of the five numbers in the set S={1,2,3,4,5} are prime numbers. Therefore, any three-digit number formed using three distinct digits of the set will contain at least one prime number. Thus, the number of three-digit numbers which contain at least one prime number in the three digits is
    5⋅4⋅3=60
    Note: Be careful of choosing a representative of a set, then selecting additional elements from the remaining numbers of the set. This leads to multiple counting.
    You chose one of the three prime numbers as a representative of the set. As Henry pointed out in the comments, you did not choose its position. There are three ways to do so. If you then multiply by the P(4,2)=4⋅3 ways of filling in the remaining numbers, you would get
    3⋅3⋅4⋅3=108
    which is more than the total number of three-digit numbers with distinct digits which can be formed using the numbers in set S.
    As pointed out above, it is not possible to form a number which does not contain at least one prime.
    Exactly one prime appears among the three distinct digits: There are three ways to select one of the three prime numbers in the set S. There is one way to select both of the nonprime numbers in the set S. There are 3! ways to permute the three distinct digits. Hence, there are
    (31)(22)3!
    such numbers.
    Exactly two primes appear among the three distinct digits: There are (32) ways to select two of the three primes in the set S, two ways to select one of the two nonprimes in the set S, and 3! ways to permute the three distinct digits. Hence, there are
    (32)(21)3!
    such numbers.
    Exactly three primes appear among the three distinct digits: There is one way to select all three primes and 3! ways to permute the digits. Hence, there are
    (33)(20)3!
    such numbers.
    Total: Since the three cases are mutually exclusive and exhaustive, there are
    (31)(22)3!+(32)(21)3!+(33)(20)3!=60
    three-digit numbers which can be formed by using three distinct digits of the set S={1,2,3,4,5} which contain at least one prime.
    Had you remembered to take the position of your designated prime into account, you would have counted each number with two primes twice, once for each way of designating one of the two primes as the prime number among its digits, and each number with three primes three times, once for each way of designating one of the three digits as the prime digit. Note that
    (31)(22)3!+(21)(32)(21)3!+(31)(33)(20)3!=108

    0
    2022-12-21T06:56:35+00:00
    5 3-digit numbers that have three equal digits.
    we need to apply the principle of inclusion-exclusion to account for the fact that some 3-digit numbers may be counted multiple times.
    any 3-digit number that has three equal digits will be counted twice once as a 3-digit number with two equal digits and one different digit, and once as a 3-digit number with three equal digits.
    There are 5 choices for the digit that is repeated, and 1 way to arrange the digits, so there are 5 3-digit numbers that have three equal digits.
    Therefore, we need to subtract 5 from the total number of 3-digit numbers that have two equal digits and one different digit.

Leave an answer

Browse

Giải phương trình 1 ẩn: x + 2 - 2(x + 1) = -x . Hỏi x = ? ( )