-2
$\begingroup$

Find a 4x4 grid containing 16 unique positive integers with minimum sum, such that adjacent numbers have different parity.

$\endgroup$
4
  • 1
    $\begingroup$ Can't you just have a checkerboard grid with 0s and 1s? $\endgroup$ Jul 19 at 22:04
  • $\begingroup$ @newQOpenWid thanks forgot about that condition $\endgroup$ Jul 19 at 22:06
  • $\begingroup$ Oh, and are integers non-negative, or can they be negative numbers? $\endgroup$ Jul 19 at 22:11
  • $\begingroup$ thanks, minimal sum implied positive integers but I forgot about that too :( $\endgroup$ Jul 19 at 22:14

1 Answer 1

4
$\begingroup$

Firstly, we note that the parity of the numbers must be in this arrangement, ignoring rotations and reflections (0 for even and 1 for odd):

1|0|1|0
0|1|0|1
1|0|1|0
0|1|0|1

It is now rather easy to generalize this, to unique positive integers:

1 |2 |3 |4
8 |7 |6 |5
9 |10|11|12
16|15|14|13

which has a total sum of 136.

$\endgroup$
1
  • $\begingroup$ Yes, sounds about right. $\endgroup$ Jul 19 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.