Number Combinations: 30 Items in 6x5 Array

  • MHB
  • Thread starter schinb65
  • Start date
  • Tags
    Combination
In summary: That explains where my trouble was. Now I see why my reasoning was indeed wrongIn summary, the conversation discusses the problem of calculating the number of ways to form a set of three distinct items from an array of 30 items arranged in a 6-by-5 grid, where no two items can be in the same row or column. The correct answer is 1200, found by selecting one item from each row and column and then dividing by the number of items in the set (3!). The conversation also explores an easier approach using a simpler 3-by-3 grid as an example.
  • #1
schinb65
12
0
Thirty items are arranged in a 6-by-5 array. Calculate the number of ways to form a set of three distinct items such that no two of the selected items are in the same row or same column.

I am told the answer is 1200.

I do not believe that I am able to use the standard combination formula.

This is what I did which I got the correct answer but do not really believe I am able to do this every time.

The first Number I can chose from 30.
The Second #, Chose from 20.
The 3rd #, Chose from 12.
So 30*20*12= 7200
7200/6= 1200
I divided by 6 since I am choosing 3 numbers and I multiplied that by 2 since I have to get rid of each row and column when a number is chosen.

Will this always work? Does an easier way exist?
 
Mathematics news on Phys.org
  • #2
I'm not sure what the correct answer is but \(\displaystyle \frac{30*20*12}{\binom{3}{1}}=2400\) is my first thought. I don't see a reason to divide by 2 at the end. Hopefully someone else can provide some insight but that's my first thought on the problem.

Let's look at a simpler case of a 3x3 grid where we want to arrange 3 items that can't be in the same row or column. The first item has 9 slots, the second has 4 and the last one just has 1. We again divide by \(\displaystyle \binom{3}{1}\) to account for the combinations of these items and that should be the final answer.

Anyway, that's my reasoning for now. Not promising it's correct unfortunately :(
 
  • #3
Hello, schinb65!

Thirty items are arranged in a 6-by-5 array.
Calculate the number of ways to form a set of three distinct items
such that no two of the selected items are in the same row or same column.

I am told the answer is 1200.

I do not believe that I am able to use the standard combination formula.

This is what I did which I got the correct answer,
but do not really believe I am able to do this every time.

The first number I can chose from 30.
The second #, choose from 20.
The third #, choose from 12.

So: 30*20*12= 7200

7200/6 = 1200 . Correct!

The first can be any of the 30 items.
Select, say, #7; cross out all items in its row and column.

. . $\begin{array}{|c|c|c|c|c|} \hline
1 & \times & 3 & 4 & 5 \\ \hline
\times & \bullet & \times & \times & \times \\ \hline
11 & \times & 13 & 14 & 15 \\ \hline
16 & \times & 18 & 19 & 20 \\ \hline
21 & \times & 23 & 24 & 25 \\ \hline
26 & \times & 28 & 29 & 30 \\ \hline
\end{array}$The second can be any of the remaining 20 items.
Select, say, #24; cross out all items in its row and column.

. . $\begin{array}{|c|c|c|c|c|} \hline
1 & \times & 3 & \times & 5 \\ \hline
\times & \bullet & \times & \times & \times \\ \hline
11 & \times & 13 & \times & 15 \\ \hline
16 & \times & 18 & \times & 20 \\ \hline
\times & \times & \times& \bullet & \times \\ \hline
26 & \times & 28 & \times & 30 \\ \hline
\end{array}$The third can be any of the remaining 12 items.
Select, say, #28.

. . $\begin{array}{|c|c|c|c|c|} \hline
1 & \times & \times & \times & 5 \\ \hline
\times & \bullet & \times & \times & \times \\ \hline
11 & \times & \times & \times & 15 \\ \hline
16 & \times & \times & \times & 20 \\ \hline
\times & \times & \times& \bullet & \times \\ \hline
\times & \times & \bullet & \times & \times \\ \hline
\end{array}$There are: .$30\cdot20\cdot12 \,=\,7200$ ways to select 3 items.

Since the order of the selections is not considered,
. . we divide by $3!$

Answer: .$\dfrac{7200}{3!} \;=\;1200$
 
  • #4
That was the thing I was missing, soroban! Thank you for pointing it out. We should divide by $3!$, not \(\displaystyle \binom{3}{1}\).
 
  • #5


I would approach this problem using a mathematical approach rather than a trial and error method. The number of ways to form a set of three distinct items can be calculated using the principle of combinations. The formula for calculating combinations is nCr = n! / (r! * (n-r)!), where n is the total number of items and r is the number of items in the set.

In this case, n = 30 and r = 3. Plugging these values into the formula, we get 30C3 = 30! / (3! * (30-3)!) = 30! / (3! * 27!) = (30 * 29 * 28) / 6 = 4060.

However, this includes all possible combinations, including those with items in the same row or column. To exclude these combinations, we need to subtract the number of combinations where two items are in the same row or column. This can be calculated by choosing two items from the same row and one item from a different row, or two items from the same column and one item from a different column. There are 6 ways to choose two items from the same row and 5 ways to choose one item from a different row, giving us a total of 6 * 5 = 30 combinations. Similarly, there are 5 * 4 = 20 combinations where two items are in the same column and one item is in a different column.

Therefore, the total number of combinations where two items are in the same row or column is 30 + 20 = 50. Subtracting this from the total number of combinations gives us 4060 - 50 = 4010.

However, this still includes combinations where all three items are in the same row or column. To exclude these combinations, we need to subtract the number of combinations where all three items are in the same row or column. This can be calculated by choosing three items from the same row or column. There are 6 ways to choose three items from the same row and 5 ways to choose three items from the same column, giving us a total of 6 + 5 = 11 combinations.

Therefore, the final answer is 4010 - 11 = 3999.

In summary, the number of ways to form a set of three distinct items in a 6-by-5 array is 3999. This approach
 

FAQ: Number Combinations: 30 Items in 6x5 Array

How many different number combinations are possible with 30 items in a 6x5 array?

There are 11,117,917,824 possible number combinations with 30 items in a 6x5 array. This can be calculated by using the formula n^r, where n is the number of items and r is the number of positions in the array. In this case, n=30 and r=30, so the calculation is 30^30 = 11,117,917,824.

Is there a specific pattern or order to the number combinations in a 6x5 array?

No, there is no specific pattern or order to the number combinations in a 6x5 array. Each combination is unique and can be randomly generated.

How long would it take a computer to calculate all possible number combinations in a 6x5 array with 30 items?

Assuming the computer can generate one combination per second, it would take approximately 352,221 years to calculate all possible number combinations in a 6x5 array with 30 items. This calculation is based on the total number of combinations (11,117,917,824) divided by the number of seconds in a year (31,536,000).

Can the same number be used more than once in a 6x5 array with 30 items?

Yes, the same number can be used more than once in a 6x5 array with 30 items. The only requirement is that there are 30 total items in the array.

How does the number of items and array size affect the total number of combinations in a number combination problem?

The number of items and array size have a direct impact on the total number of combinations in a number combination problem. As the number of items or array size increases, the total number of combinations also increases. This can be seen in the formula n^r, where n is the number of items and r is the number of positions in the array. As both n and r increase, the total number of combinations grows exponentially.

Back
Top