SOLUTION: How many ways can the digits 1, 2, 3, 4, and 5 be arranged in a row of 3 to form an odd counting number if repetition is permitted and if 3 cannot be second and 1 cannot be third?

Algebra.Com
Question 514613: How many ways can the digits 1, 2, 3, 4, and 5 be arranged in a row of 3 to form an odd counting number if repetition is permitted and if 3 cannot be second and 1 cannot be third?
Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
How many ways can the digits 1, 2, 3, 4, and 5 be arranged in a row of 3 to form an odd counting number if repetition is permitted and if 3 cannot be second and 1 cannot be third?
There are no restrictions on the first digit, so we can
choose it any of 5 ways.

For each of the 5 ways to choose the first digit there are
4 ways to choose the 2nd digit, either 1,2,4, or 5. We are
told it can't be 3. That's 5*4 or 20 ways to choose the first 
two digits.

An odd number must end in an odd digit, so the third digit is 
either 1,3, or 5. But we are told 1 cannot be third, so it can 
only be 3 or 5. So for each of the 20 ways to choose the first 
and second digits, there are 2 ways to choose the last digit.

That makes 20*2 or 40 ways total.

Here they all are:

1.  113
2.  115
3.  123
4.  125
5.  143
6.  145
7.  153
8.  155
9.  213
10.  215
11.  223
12.  225
13.  243
14.  245
15.  253
16.  255
17.  313
18.  315
19.  323
20.  325
21.  343
22.  345
23.  353
24.  355
25.  413
26.  415
27.  423
28.  425
29.  443
30.  445
31.  453
32.  455
33.  513
34.  515
35.  523
36.  525
37.  543
38.  545
39.  553
40.  555

Edwin


RELATED QUESTIONS

In how many ways can the digits 1, 2, 3, 4 be arranged? (Repetition of digits is not... (answered by stanbon)
1.How many ways 3-digit odd number can be formed by using the digit 1 to 9 when... (answered by AnlytcPhil,Edwin McCravy)
In how many different ways can we form a number of 4 digits from digits 1, 2, 3, 4, 5, …... (answered by lynnlo)
In how many different ways can we form a number of 4 digits from digits 1, 2, 3, 4, 5, …... (answered by lynnlo)
A teacher wants to write an ordered 5-question test from a pool of 8-questions. How many... (answered by longjonsilver)
Solve the following: In how many different ways can we form a number of 4 digits from... (answered by lynnlo)
How many four-digit numbers can be formed using the digits 1, 2, 3, 4, 5, 6, if the... (answered by mccravyedwin,Edwin McCravy,ikleyn)
In how many ways can 3 boys and 2 girls be arranged in a row if a selection is made from... (answered by Edwin McCravy)
1. How many different 4-digit numbers can be formed from the digits 2, 3, 4, 5, 6, 7, and (answered by Alan3354)