- #1

Lancelot1

- 28

- 0

I need some help with this one:There are 3 shapes of pasta: 1,2,3.

In a box there are 3 packages of pasta of shape 1, with different weights: 300 gr, 400 gr, 500gr.

In addition, there are 5 packages of paste of shape 2, with weights: 300gr, 350gr, 400gr, 500gr, 600gr,

and 4 packages of pasta of shape 3, with weights 300gr, 350gr, 400gr, 500gr.

What is the probability that a random ordering of the packages on a shelf will be such that pasta packages of the same weight will be one next to another, and/or each shape of pasta will be separate ?

The and/or part of the question is unclear to me. My interpretation is to count all the possibilities in which the same weight is one next to another, or the shape is separate or both. Does it makes sense ?

This is a probability question, but the main problem is combinatorical.

The number of possibilities is clearly :

$(3+5+4)! = 12!$

The number of possibilities for separate shapes is:

$3!\cdot 3!\cdot 4!\cdot5!$

i.e, 6 possibilities to order the shapes, with all the inner possibilities within each shape, right ?

My problem is with the weights...