How many strings of five decimal digits must be starting or ending with an odd number? How many str

Damon Stokes

Damon Stokes

Answered question

2022-06-16

How many strings of five decimal digits must be starting or ending with an odd number?
How many strings of five decimal digits must be starting or ending with an odd number?
Everywhere, I looked over the internet they used this method:
Thus, number of ways = 5 10 10 10 10 = 50000 ways.
Thus, number of ways = 10 10 10 10 5 = 50000 ways.
Therefore, the strings of five decimal digits that start with an odd number or end with an odd number = 50000 + 50000 = 100000.

Answer & Explanation

sleuteleni7

sleuteleni7

Beginner2022-06-17Added 28 answers

Step 1
We do a direct count.
There are three possibilities:
- The first digit of the string is odd and the last digit of the string is even.
- The first digit of the string is even and the last digit of the string is odd.
- Both the first and last digits of the string are odd.
Step 2
In each case, there are five choices for the first and last digits and ten choices for each of the middle three digits. Since these three cases are mutually exclusive and exhaustive, there are
3 5 10 10 10 5 = 75 , 000
five-digit decimal strings in which the first digit or last digit is odd.
Finley Mckinney

Finley Mckinney

Beginner2022-06-18Added 11 answers

Step 1
We use the Complement Principle.
The only strings which do not have an odd number in the first or last positions are those which have an even number in both the first and last positions.
There are 10 5 five-digit decimal strings.
There are 5 10 10 10 5 five-digit decimal strings with an even number in both the first and last positions.
Step 2
Hence, there are 10 5 5 10 10 10 5 = 75 , 000
five-digit decimal strings in which the first digit or last digit is odd.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?