Permutation & combination

In summary: Now, we have to see if we can form more numbers divisible by 8 by adding the last three digits. For the first three numbers, we can add 4 to get 52,60,68 and 100, which is not a 5 digit number. For the last number, we can add 4 and get 100, which is also not a 5 digit number. So, we have 4 numbers divisible by 8. However, we can swap the first and second digits (e.g. 84 and 48). This gives us 4 more numbers divisible by 8. Therefore, the total number of numbers divisible by 8 is 4+4=8.
  • #1
Matejxx1
72
1

Homework Statement


From the numbers 4,5,6,8,9 we make 5 digits numbers (each number can be used only once).
h)How many of these numbers are divisible by 8?
The correct answer is 20

Homework Equations


a number is divisible by 8 if the last 3 digits are divisible by 8

If the hundreds digit is even, examine the number formed by the last two digits.
If the hundreds digit is odd, examine the number obtained by the last two digits plus 4

The Attempt at a Solution


Ok, so I started by trying to figure out how many number we could make that are divisible by 8
I divided the problem into 2 parts. First I calculated the possibilities if the hundredth digit is a odd number and then I did the same thing for the even number
a) since we have 3 even number there are 3 possibilities for the hundredth digit
and we also know that the other 2 number have to be divisible by 8 so that left me with 4 options (48,56,64,96)
so when I combined the hundredth number and these for options we get 3*4=12 options in total
b) we have 2 odd numbers so there are 2 possibilities for the hundredth digit
and we also know that the other 2 number + 4 have to be divisible by 8 so I got 2 options (68,84)
so when I combined the whole thing I got 2*2= 4 options in total

and this is where it kinda gets confusing for me I know that we have 16 numbers that can be divisible by 8 I got that from adding the even and odd parts together. Later on I figured that the first and second number can also be switched between themselves and that would not effect the first tree digits at all so I tried doing this
2!+12+2!+4=16+2*2!=16+4=20
I'm kinda wondering if this is an acceptable way of solving this because we never solved anything like this in school
and I would also like to see if any of you guys could give a more straightforward way of solving this because if this is right it seems way to complicated of a way of solving
Thanks for any feedback
 
Physics news on Phys.org
  • #2
Matejxx1 said:

Homework Statement


From the numbers 4,5,6,8,9 we make 5 digits numbers (each number can be used only once).
h)How many of these numbers are divisible by 8?
The correct answer is 20

Homework Equations


a number is divisible by 8 if the last 3 digits are divisible by 8

If the hundreds digit is even, examine the number formed by the last two digits.
If the hundreds digit is odd, examine the number obtained by the last two digits plus 4

The Attempt at a Solution


Ok, so I started by trying to figure out how many number we could make that are divisible by 8
I divided the problem into 2 parts. First I calculated the possibilities if the hundredth digit is a odd number and then I did the same thing for the even number
a) since we have 3 even number there are 3 possibilities for the hundredth digit
and we also know that the other 2 number have to be divisible by 8 so that left me with 4 options (48,56,64,96)
so when I combined the hundredth number and these for options we get 3*4=12 options in total
b) we have 2 odd numbers so there are 2 possibilities for the hundredth digit
and we also know that the other 2 number + 4 have to be divisible by 8 so I got 2 options (68,84)
so when I combined the whole thing I got 2*2= 4 options in total

and this is where it kinda gets confusing for me I know that we have 16 numbers that can be divisible by 8 I got that from adding the even and odd parts together. Later on I figured that the first and second number can also be switched between themselves and that would not effect the first tree digits at all so I tried doing this
2!+12+2!+4=16+2*2!=16+4=20
I'm kinda wondering if this is an acceptable way of solving this because we never solved anything like this in school
and I would also like to see if any of you guys could give a more straightforward way of solving this because if this is right it seems way to complicated of a way of solving
Thanks for any feedback
I am not an expert at this , but why did you multiply 3 * 4?. If you do that you can get repetitions and remember that each number can be used only once. I am still working on your problem and think the only way to do this is by counting.
 
  • #3
TheMathNoob said:
I am not an expert at this , but why did you multiply 3 * 4?. If you do that you can get repetitions and remember that each number can be used only once. I am still working on your problem and think the only way to do this is by counting.
This is what I got. As you said, 48,56,64 and 96 are divisible by 8, so we have to find a way to match them with 4,6 and 8. We can't just do something like 3*4 because you may get something like 448 and this doesn't work because there is a repetition, so we have to do this by hand.

6->48
6,8->56
8->64
4,8->96

Those are the possible ways how we can match those numbers so the resultant outcomes would be

648,456,856,864,496,896.

The odd part is the same thing

As you said 68 and 84 each plus 4 are divisible 8, so we have to find a way to match them with 5 and 9

9,5-> 84
9,5->68

so the resultant outcomes are 984,584,568,968

so with even and odds, we got ten possible ways how the last three digits are divisible by 8. If we fill out the remaining spots with the two remaining numbers then it would be just be 10 ways, but as you said, we can switch the numbers, so for example if we pick 984, we can make 2 numbers from it, 65984 and 56984, so if we do the same thing with the other numbers, we get in total 20 possible ways.
 
  • #4
Thanks for the reply!
i see where i made a mistake and why 3*4 can't be used here.
So if i understood you correctly the correct way of solving this kind of problems is to count the number of possible ways (in this case 10) *spaces left factorial (in this case 2!)?
So let's say we added a sixth number let's assume that the number is still divisible by 10 ways.
So the correct answer then would be 3!*10=60?
 
  • #5
Matejxx1 said:
Thanks for the reply!
i see where i made a mistake and why 3*4 can't be used here.
So if i understood you correctly the correct way of solving this kind of problems is to count the number of possible ways (in this case 10) *spaces left factorial (in this case 2!)?
So let's say we added a sixth number let's assume that the number is still divisible by 10 ways.
So the correct answer then would be 3!*10=60?
Yes, that's right.
 

1. What is the difference between permutation and combination?

Permutation is an arrangement of objects where the order matters, while combination is a selection of objects where the order does not matter.

2. How do I calculate the number of permutations?

The formula for calculating permutations is nPr = n! / (n-r)! where n is the total number of objects and r is the number of objects being arranged.

3. What is the formula for calculating combinations?

The formula for calculating combinations is nCr = n! / (r!(n-r)!) where n is the total number of objects and r is the number of objects being selected.

4. Can permutation and combination be applied to real-life situations?

Yes, permutation and combination can be applied to real-life situations such as arranging people in a line, selecting a committee from a group of people, or making a combination of toppings for a pizza.

5. Are there any limitations to using permutation and combination?

Yes, permutation and combination may not be applicable when dealing with situations that involve replacements, or when the objects being arranged or selected are not distinct from each other.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
1
Views
822
  • Precalculus Mathematics Homework Help
Replies
19
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
795
  • Precalculus Mathematics Homework Help
Replies
32
Views
847
  • Precalculus Mathematics Homework Help
Replies
1
Views
816
  • Precalculus Mathematics Homework Help
Replies
7
Views
851
  • Precalculus Mathematics Homework Help
Replies
20
Views
1K
  • Precalculus Mathematics Homework Help
Replies
23
Views
1K
  • Precalculus Mathematics Homework Help
Replies
16
Views
2K
  • Precalculus Mathematics Homework Help
Replies
6
Views
831
Back
Top