Really tough question I got in my discrete math class, can anyone help?
help me with my homework
posted in
Off Topic
Really tough question I got in my discrete math class, can anyone help?
[img]http://puu.sh/sxiIZ/bce5b36ab4.png[/img]
[img]http://puu.sh/sxiIZ/bce5b36ab4.png[/img]
There is only one composition: 2 meds and 10 scouts
There is only one composition: 2 meds and 10 scouts
so this is asking for the number of solutions to the diophantine equation
a1 + a2 + a3 + a4 + a5 + a6 = 12
with the restriction a1 >= 2 and all of the other a's being nonnegative integers.
just subtract those two medic dudes and you have
a'1 + a2 + a3 + a4 + a5 + a6 = 10
where all of the a's are nonnegative integers.
this is classic stars and bars so the solution is 15 choose 5
so this is asking for the number of solutions to the diophantine equation
a1 + a2 + a3 + a4 + a5 + a6 = 12
with the restriction a1 >= 2 and all of the other a's being nonnegative integers.
just subtract those two medic dudes and you have
a'1 + a2 + a3 + a4 + a5 + a6 = 10
where all of the a's are nonnegative integers.
this is classic stars and bars so the solution is 15 choose 5
a1 + a2 + a3 + a4 + a5 + a6 = 12
with the restriction a1 >= 2 and all of the other a's being nonnegative integers.
just subtract those two medic dudes and you have
a'1 + a2 + a3 + a4 + a5 + a6 = 10
where all of the a's are nonnegative integers.
this is classic stars and bars so the solution is 15 choose 5
This is a trick question, you can't have 2 medics!
This is a trick question, you can't have 2 medics!
Please
sign in through STEAM
to post a comment.