You are not logged in.
Fill a 2nx2n array with the numbers from 1 to
. Calculate all the sums of two adjacent numbers (sharing an edge is considered adjacent). Suppose S is the largest sum. Express min S in terms of n.Last edited by phanthanhtom (2015-09-19 23:15:29)
Offline
S is the largest sum. What is min of S?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
The minimum of S across all possible ways to fill the grid up, I am guessing?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
That is right.
For example, min S(1) = 6 and min S(2) = 19.
Offline
If it is the min, then why is not S(1) = 3? And where does the 19 come from in S(2)?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hej bobbym
You look at all possible fillings of the grid and for each filling you see what the maximum sum of adjacent ellements is. Then you find the minimum of those numbers.
For example, for n=1, you are filling a 2x2 grid with numbers 1,2,3,4. The lowest adjacent sum, which is 6, can be obtained with the filling:
For n=2, a filling with S=19 *can* be found, but I am not sure if there is a lower one (probably not):
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Hi;
Why can you not use 1 + 3 = 4 in the first one? And why use 16 + 3 in the second one? There are higher and lower ones in that very diagram.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hej,
You are usign the highest sum you can find in the grid. In the 2x2 case, that is 6. If you arrange the numbers any other way, you'll get a higher maximum sum. For example:
For the second, 4x4 grid, the highest sum inside it is 19. To prove that this is the minimal highest sum, we would need to prove that for all other arrangements of numbers from 1 to 16 into the grid, there will be two adjacent numbers which sum to 19 or higher.
Last edited by anonimnystefy (2015-09-20 09:50:06)
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Hi;
I get it now. Thanks for the explanation.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hej bobbym
Inget problem!
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
The what problem?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
"No problem".
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
In Swedish it is.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi phanthanhtom;
Is this is a problem about the extremal principle? If it is a proof question, please post the expression: reverse engeneering the answer might be easier
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
No, I don't have the expression.
I can prove S(2) = 19.
First of all, if 16 is in a square with 3 or 4 adjacent squares then one of its neighbours will be at least 3. Thus there will be a sum of at least 19.
Otherwise, 16 is in a corner. We prove that then the maximum sum will still be at least 19. If 3, 4, 5 etc is adjacent to 16 then QED. Suppose 16's neighbours are 1 and 2. Then wherever 15 is, it must have at least two neighbours other than 1 or 2. Thus 15 must have a neighbour at least 4 in value, and the sum would then be 4.
However, I did try to use a kind of checkerboard pattern like this:
16 - 02 - 13 - 06
01 - 14 - 05 - 10
15 - 04 - 11 - 08
03 - 12 - 07 - 09
When I apply this kind of checkerboard pattern to n from 3 to 5 I get S(3) = 40, S(4) = 69 and S(5) = 106. (ofc I'm not sure if this pattern yields the smallest S). Therefore I'm proposing that:
Offline
First of all, if 16 is in a square with 3 or 4 adjacent squares then one of its neighbours will be at least 3. Thus there will be a sum of at least 19.
Otherwise, 16 is in a corner. We prove that then the maximum sum will still be at least 19. If 3, 4, 5 etc is adjacent to 16 then QED. Suppose 16's neighbours are 1 and 2. Then wherever 15 is, it must have at least two neighbours other than 1 or 2. Thus 15 must have a neighbour at least 4 in value, and the sum would then be 4.
But how does the proof ensure that, say, 14 and 11 are not adjacent?
'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.
Offline
Well, their proof shows that the minumum is 19 or greater. After that, we only one example of the sum being 19 to prove that is the minimum.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline