mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2019-04-02, 15:14   #1
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

25·257 Posts
Default April 2019

http://www.research.ibm.com/haifa/po...April2019.html
Xyzzy is offline   Reply With Quote
Old 2019-04-03, 13:45   #2
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·1,171 Posts
Default

Easy to find solutions. I wonder what "elegant" looks like for this puzzle; mine surely are not.
bsquared is offline   Reply With Quote
Old 2019-04-03, 14:35   #3
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·1,171 Posts
Default

Found a solution for 4x4
bsquared is offline   Reply With Quote
Old 2019-04-03, 14:50   #4
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

40078 Posts
Default

Quote:
Originally Posted by bsquared View Post
Found a solution for 4x4
I stopped after 21x21. It seems pointless going further up.
a1call is offline   Reply With Quote
Old 2019-04-03, 14:59   #5
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·1,171 Posts
Default

Quote:
Originally Posted by a1call View Post
I stopped after 21x21. It seems pointless going further up.


Are all of your averages integers? I.e., all row/col/diag sums are 0 mod 21 as well as prime? If so then you have a much better search algorithm than me.
bsquared is offline   Reply With Quote
Old 2019-04-03, 15:13   #6
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

3×5×137 Posts
Default

Quote:
Originally Posted by bsquared View Post


Are all of your averages integers? I.e., all row/col/diag sums are 0 mod 21 as well as prime? If so then you have a much better search algorithm than me.
Well shouldn't spoil the challenge at this point but there is a simple algorithm as a factor of number of rows as is obvious with the great number of solutions submitted this early.
a1call is offline   Reply With Quote
Old 2019-04-03, 16:46   #7
lukerichards
 
lukerichards's Avatar
 
"Luke Richards"
Jan 2018
Birmingham, UK

25·32 Posts
Default

Thanks for sharing. My year 10 class (aged 14-15) had great fun with this today.
lukerichards is offline   Reply With Quote
Old 2019-04-03, 17:55   #8
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22·7·167 Posts
Default Yes quite easy indeed.

...
petrw1 is offline   Reply With Quote
Old 2019-04-07, 20:36   #9
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

80716 Posts
Default

Well, I did a 101x101 matrix because I found it interesting to write a code to generate a code to solve the large matrix. Otherwise it would have been prohibitively too much work to type the code to check all the 101+101+2 averages.

ETA Again, I wished someone would write a "foreach" style function for the PARI-GP vectors/matrices or add a few decent numeric examples to the forvec loop documentation.

Last fiddled with by a1call on 2019-04-07 at 20:59
a1call is offline   Reply With Quote
Old 2019-04-08, 15:01   #10
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

100101100010112 Posts
Default

Quote:
Originally Posted by bsquared View Post
all <...> sums are 0 mod 21 as well as prime?
now yafu is very angry with his daddy...
LaurV is offline   Reply With Quote
Old 2019-04-09, 13:35   #11
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

DB916 Posts
Default

Quote:
Originally Posted by LaurV View Post
now yafu is very angry with his daddy...
Not sure I get it...

Anyway, I picked this back up and figured out a few more things, but I don't think I'll bother to progress much beyond 6x6.
bsquared is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
January 2019 Xyzzy Puzzles 74 2019-04-09 13:34
March 2019 Xyzzy Puzzles 6 2019-04-04 16:32
February 2019 Xyzzy Puzzles 17 2019-03-07 21:05
2019 Coding Challenge miroslavkures Number Theory Discussion Group 2 2018-12-27 08:59

All times are UTC. The time now is 03:41.


Sat Jul 17 03:41:40 UTC 2021 up 50 days, 1:28, 1 user, load averages: 1.19, 1.48, 1.55

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.