Sudoku and Euler

Everything about Sudoku that doesn't fit in one of the other sections

Sudoku and Euler

Postby arni » Tue Jul 05, 2005 2:47 pm

[size=18]Since Sudoku was originated with Euler's Magic squares I want help from someone who can program the magic square 4 x 4 matrix ( using digits 1 to 16) where the rows , columns and diagonals add up to 42. This will be a much better game for cellfone than a 9 x 9 matrix . There are 304 solutions without rotation[/size].
arni
 
Posts: 10
Joined: 24 June 2005

Postby arni » Tue Jul 05, 2005 2:57 pm

Sorry:( . Made a mistake . The 4 digits should add up 34.
arni
 
Posts: 10
Joined: 24 June 2005

Postby scrose » Tue Jul 05, 2005 2:59 pm

This site will let you generate all 4x4 magic squares.
scrose
 
Posts: 322
Joined: 31 May 2005

Postby paulf2127 » Wed Jul 06, 2005 2:17 pm

4*4 magic square adding to 34


8, 11, 14, 1
13, 2, 7, 12
3, 16, 9, 6
10, 5, 4, 15
paulf2127
 
Posts: 26
Joined: 23 May 2005

Postby paulf2127 » Wed Jul 06, 2005 2:19 pm

Incidentally, you don't need a program to generate 4*4 squares. There is a simple technique which you can use to generate them in your head.

Good party piece....You can just write them out and look really brainy.
paulf2127
 
Posts: 26
Joined: 23 May 2005

Postby paulf2127 » Wed Jul 06, 2005 2:21 pm

NOte the fact that as wel as the rows and columns and diagonals adding to 34......

most of the 2*2 boxes within add to 34. Also the opposite diagonals ( ie r2c1, r1c2 and r4c3, r3c4 and the other way round.
paulf2127
 
Posts: 26
Joined: 23 May 2005

Postby arni » Thu Jul 07, 2005 5:47 am

[quote="paulf2127"]Incidentally, you don't need a program to generate 4*4 squares. There is a simple technique which you can use to generate them in your head.

Good party piece....You can just write them out and look really brainy.[/quote]

THANK YOU FOR YOUR FEEDBACKS. Please let me know how?
Arni
arni
 
Posts: 10
Joined: 24 June 2005

Postby arni » Thu Jul 07, 2005 6:28 am

[quote="scrose"]This [url=http://www.faust.fr.bw.schule.de/mhb/backtrack/mag4en.htm]site[/url] will let you generate all 4x4 magic squares.[/quote]

Thank you for your assistance.
Arni
arni
 
Posts: 10
Joined: 24 June 2005


Return to General

cron