8
$\begingroup$

Can you fill a 4x4 grid with every number from 1 to 16, such that every row, every column and every 2x2 sub-grid of numbers sum to the same value?

$\endgroup$
8
$\begingroup$

Solution:

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

Notes:

     A B C D
     E F G H
     I J K L
     M N O P
 

Must have
A+B = G+H = I+J = O+P
C+D = E+F = K+L = M+N
A+E = J+N = C+G = L+P
I+M = B+F = K+O = D+H
B+C = J+K = E+H = M+P
F+G = N+O = A+D = I+L
E+I = G+K = B+N = D+P
F+J = H+L = A+M = C+O
which are enough constraints to make it manageable by trial and error.

$\endgroup$
2
1
$\begingroup$

This one has a kind of rhythm I find cool:

1 16 2 15
14 3 13 4
12 5 11 6
7 10 8 9
New contributor
Fred is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
1
  • 1
    $\begingroup$ The central 2x2 appears to sum to 32 only. $\endgroup$ – loopy walt Apr 6 at 17:22
1
$\begingroup$
1 16 5 12
8 9 4 13
3 14 7 10
15 2 11 6

Each 2x2 square should be (largest + smallest) * 4 / 2. In this case that would be 34.

New contributor
captain_hook is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
2
  • 6
    $\begingroup$ You forgot the columns, they don't add up properly. $\endgroup$ – Christoph Apr 6 at 14:22
  • $\begingroup$ Ah yes, I didn't notice that. $\endgroup$ – Dmitry Kamenetsky Apr 7 at 2:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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