mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2019-01-05, 12:46   #34
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

8,369 Posts
Default

here's another thing you all may have noticed neither A or B can have more than 2 values mod 4 within them.
science_man_88 is offline   Reply With Quote
Old 2019-01-05, 17:06   #35
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,743 Posts
Default

Have found plenty of 4+3 solutions but no 4+4 yet. Not sure I can search much further
henryzz is offline   Reply With Quote
Old 2019-01-07, 09:57   #36
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,743 Posts
Default

Quote:
Originally Posted by henryzz View Post
Have found plenty of 4+3 solutions but no 4+4 yet. Not sure I can search much further
Turns out I had a bug. 4+4 solutions found.

Something I hadn't realized is that if A=[a,b,c,d] and B=[e,f,g,h] is a solution then A=[a-1,b-1,c-1,d-1] and B=[e+1,f+1,g+1,h+1] is a solution. I think this means that you can set a=1 and generate all solutions based on this.
henryzz is offline   Reply With Quote
Old 2019-01-07, 10:44   #37
axn
 
axn's Avatar
 
Jun 2003

52·191 Posts
Default

Quote:
Originally Posted by henryzz View Post
I think this means that you can set a=1 and generate all solutions based on this.
Or set a=0. This way, all the entries in the other set will be squares.
axn is offline   Reply With Quote
Old 2019-01-07, 12:47   #38
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,743 Posts
Default

Unfortunately I have found a bug that invalidates my solutions.

@axn that is potentially a useful idea.
henryzz is offline   Reply With Quote
Old 2019-01-13, 07:46   #39
Dieter
 
Oct 2017

1428 Posts
Default

Eight days ago, I have found a 4+4 solution and a few hours later a 4+5 solution - sufficient for a "*". But the search for a 4+6 solution - [a1,a2,a3,a4] and [b1,b2,b3,b4,b5,b6] with ai+bj = square number seems to be difficult. Until now I have only three “quasi-solutions” with 23 of 24 fulfilled conditions:
cij: = ai +bj = a square number is correct for i = 1 to 4 and j = 1 to 6; only
a4 + b6 is no square number.
I would like to know which sort of solutions other people with “*” have sent to the puzzle master.

Last fiddled with by Dieter on 2019-01-13 at 07:49
Dieter is offline   Reply With Quote
Old 2019-01-13, 17:04   #40
uau
 
Jan 2017

79 Posts
Default

Quote:
Originally Posted by Dieter View Post
I would like to know which sort of solutions other people with “*” have sent to the puzzle master.
I've found a 4+6 solution.
uau is offline   Reply With Quote
Old 2019-01-13, 20:20   #41
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

4,457 Posts
Default The age old binary question: 1 or 0

Just curious if you are having more luck if a1=1 or a1=0?
I found a (4,3) solution quite easily with a1=1.

I guess the third option could be: a1 != {0,1}
petrw1 is online now   Reply With Quote
Old 2019-01-14, 07:50   #42
Dieter
 
Oct 2017

2×72 Posts
Default

[QUOTE=petrw1;505800]Just curious if you are having more luck if a1=1 or a1=0?
I found a (4,3) solution quite easily with a1=1.


That's no question for me, because I don't use ai and bj as parameters. My parameters for the search are the square numbers cij = ai + bj.


I don't know, if I am allowed to write more here.
Dieter is offline   Reply With Quote
Old 2019-01-14, 11:44   #43
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

574310 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Just curious if you are having more luck if a1=1 or a1=0?
I found a (4,3) solution quite easily with a1=1.

I guess the third option could be: a1 != {0,1}
The value for a1 shouldn't make a difference. If you add 1 onto all As and subtract 1 from all Bs then you have a new solution. As such something needs to be fixed. This can be 0 or 1.
henryzz is offline   Reply With Quote
Old 2019-01-14, 16:03   #44
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

4,457 Posts
Default

Quote:
Originally Posted by henryzz View Post
The value for a1 shouldn't make a difference. If you add 1 onto all As and subtract 1 from all Bs then you have a new solution. As such something needs to be fixed. This can be 0 or 1.
Good point .... or if you have a 4X4 solution put a zero in one list.
petrw1 is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
2019 Coding Challenge miroslavkures Number Theory Discussion Group 2 2018-12-27 08:59
January 2018 Xyzzy Puzzles 0 2018-01-02 03:09
January 2017 Xyzzy Puzzles 4 2017-02-22 21:34
January 2016 R. Gerbicz Puzzles 17 2016-02-04 17:00
January 2015 Xyzzy Puzzles 1 2015-02-02 17:17

All times are UTC. The time now is 22:19.

Mon Nov 23 22:19:58 UTC 2020 up 74 days, 19:30, 4 users, load averages: 2.83, 2.81, 2.71

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.