Saturday problem of combinatorics

Find the number of arrangements in a grid of 4 × 4 4\times4 for the numbers 1 1 to 16 16 so that each colum and row has an odd sum.

The answer can be written as 2 a × 3 b × 8 ! c 2^a\times3^b\times 8!^c . Submit your answer as 2 a × 3 b + 8 ! 2^a\times3^b+ 8!


The answer is 40464.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Paola Ramírez
Jul 11, 2015

There are 8 8 odd and 8 8 even numbers \Rightarrow two rows have three odd numbers and two only one.

First select which rows have three odd numbers, this is ( 4 2 ) = 6 \binom{4}{2}=6

For the rows with three odd numbers are four arrangements, and each arrangement only can be combined with one of the other three, 4 × 3 = 12 4\times 3=12 ways:

The rows with one odd number are defined by the last step and without lose of generality we only have to arrange two odd number as next figure shows:

Finally, permute odd an even numbers. 8 ! × 8 ! 8!\times8!

\therefore the number of arrangements is 6 × 12 × 2 × 8 ! × 8 ! = 144 × ( 2 3 ! ) 2 3 a × 2 b + 8 ! = 40464 6\times12\times2\times 8!\times 8!=144\times (2^{3}!)^2 \Rightarrow 3^a\times2^b+8!=\boxed{40464}

The number of arrangements is correct (2^4 * 3^2 * 8!^2), but the answer 40464 is wrong since it implies c=1. The value of c is 2 and the correct answer must be 1625702544.

Ramón Martins - 5 years, 11 months ago

Log in to reply

Thanks, I'll correct that.

Paola Ramírez - 5 years, 11 months ago
Kenny Lau
Jul 22, 2015

Lemma 1: There are two rows with three odd numbers, and the other two rows have only one odd number.

Proof: A row has 4 4 numbers, therefore there are at most 4 4 odd numbers. However, the condition is that each row has an odd sum. Therefore, the number of odd numbers are also odd. Therefore, each row has either 1 1 odd number or 3 3 odd numbers. Let the number of rows with 1 1 odd number be a a and the number of rows with 3 3 odd numbers be b b . Since there are a total of 8 8 odd numbers available from 1 1 to 16 16 : a × 1 + b × 3 = 8 a\times1+b\times3=8 Also, there are only 4 4 rows, so: a + b = 4 a+b=4 Solving the equations give us: { a = 2 b = 2 \begin{cases}a=2\\b=2\end{cases} \square

Lemma 2: There are two columns with three odd numbers, and the other two columns have only one odd number.

Proof: This follows from a similar argument with lemma 1.

\square

Lemma 3: A "hole" refers to the even number in the rows with 3 odd numbers. Then, the two rows with 3 odd numbers cannot have holes belonging to the same column.

Proof: Assume the opposite.

Then, there are now three columns with two odd numbers. There can be no place to add the remaining odd numbers to these columns such that two rows have only one odd number.

Therefore the result follows.

\square

THEREFORE:

  • ( 4 2 ) \dbinom42 to choose two rows that have three odd numbers.
  • 4 4 for the hole in the first row containing three odd numbers.
  • 3 3 for the hole in the second row containing three odd numbers.
  • 2 2 for the two possibilities for the remaining odd entries.
  • 8 ! 8! for arranging the 8 8 odd numbers.
  • 8 ! 8! for arranging the 8 8 even numbers.

And the total number of arrangements = ( 4 2 ) × 4 × 3 × 2 × 8 ! × 8 ! \dbinom42\times4\times3\times2\times8!\times8! = 2 4 × 3 2 × 8 ! 2 2^4\times3^2\times8!^2 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...