numbers

User avatar
Dave Davison
SilverLounger
Posts: 1852
Joined: 27 Jan 2010, 19:15
Location: Darlington, Co. Durham. UK

numbers

Post by Dave Davison »

Rearrange numbers so they add up to the same number (less than 20) every way including diagonally. The quest is not simply how but how long it takes to solve. Cheers Dave
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: numbers

Post by HansV »

Best wishes,
Hans

User avatar
AlanMiller
BronzeLounger
Posts: 1545
Joined: 26 Jan 2010, 11:36
Location: Melbourne, Australia

Re: numbers

Post by AlanMiller »

Dave Davison wrote:Rearrange numbers so they add up to the same number (less than 20) every way including diagonally. The quest is not simply how but how long it takes to solve. Cheers Dave
About 5 seconds... done it once or twice before. :evilgrin:
I've seen several ways to do this, but the one I reckon is easiest to remember is to form a "magic diamond" then just rotate it 45° to a square. You just transpose the corners over the top of the 5, onto the opposite grid intersection. So 1 ends up in the centre of the 5689 grid, 3 in the 4578 grid, 7 into the 2356 grid and 9 into the 1245 grid centre. The result is a diamond shape which can be rotated to a square.

Alan

User avatar
Graeme
Cosmic Lounger
Posts: 1230
Joined: 11 Feb 2010, 12:23
Location: Medway, Kent, UK

Re: numbers

Post by Graeme »

I first saw this at school. My solution is the same as in Hans' link except a mirror image. The rules were, start with 1 in the centre square in the top row. Always move up one row and across one column to the right. If the move takes you out of the grid move to the far end of the row or column you are now in. If there is already a number in the square then drop to the square below. From the top right corner, also drop to the square below. It's easier to see with a 5 square grid and works for any odd number of squares:

Image
_______________________________________

http://www.averywayobservatory.co.uk/

User avatar
AlanMiller
BronzeLounger
Posts: 1545
Joined: 26 Jan 2010, 11:36
Location: Melbourne, Australia

Re: numbers

Post by AlanMiller »

Here's a better way of showing my method.

Write the numbers 1 to 9 in a 3x3 "open" grid (black & blue numbers).
Transpose the corner numbers over the top of the central 5, to the positions shown (black -> red).
This gives the grey diamond which then rotates to a magic square.

Alan
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: numbers

Post by HansV »

Nice!
Best wishes,
Hans