mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2017-05-01, 22:06   #23
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by a1call View Post
Writing a program that finds thousands of solutions in minutes is definitely not "not doing this properly".

The only reason I moved to manually finding a solution is because there was not a chance my brute force program would find a solution in my lifetime.
maybe you're allowing too many exceptions to the rules into it ? are any possible parity arguments, maximum distance from the start arguments, etc. weighed into it ? yes I probably gave too much away feel free to delete if you need to.
science_man_88 is offline   Reply With Quote
Old 2017-05-01, 23:05   #24
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by a1call View Post
Writing a program that finds thousands of solutions in minutes is definitely not "not doing this properly".

The only reason I moved to manually finding a solution is because there was not a chance my brute force program would find a solution in my lifetime.
Thanks.

My reservations are based in the idea that rather than creating a formula that produces the desired result, I am, in effect, doing trial and error/success testing. I guess I'll see if my name shows up in the list...
EdH is offline   Reply With Quote
Old 2017-05-02, 03:43   #25
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

258B16 Posts
Default

I am with EDH here. I assume there are lots of solutions. I found a solution in less than 10 minutes using excel and a 20 lines macro.
(edit: the starting point had already the condition fulfilled for 12 letters, done by hand - actually quite easy, but I got bored and wrote the macro...)

Last fiddled with by LaurV on 2017-05-02 at 03:45
LaurV is offline   Reply With Quote
Old 2017-05-06, 20:45   #26
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23·3·5·72 Posts
Default

Just sent in my solution. Found more by luck than anything else.

Is it possible to prove that for n > 4, 2n+1 characters are needed or is there a possibility of a 52 solution for a star?
henryzz is offline   Reply With Quote
Old 2017-05-06, 21:29   #27
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

22×7×53 Posts
Default

Quote:
Originally Posted by henryzz View Post
Is it possible to prove that for n > 4, 2n+1 characters are needed or is there a possibility of a 52 solution for a star?
Mission impossible. There is a solution for n=7 with (2*n) length, and for many larger n values.
R. Gerbicz is offline   Reply With Quote
Old 2017-05-07, 06:19   #28
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23×3×5×72 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
Mission impossible. There is a solution for n=7 with (2*n) length, and for many larger n values.
Based upon no stars so far I thought that it would be impossible. Interesting to know that there are many n values with 2*n.
Do any require 2*n+2? Is there an upper bound?
henryzz is offline   Reply With Quote
Old 2017-05-07, 07:11   #29
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

148410 Posts
Default

Quote:
Originally Posted by henryzz View Post
Based upon no stars so far I thought that it would be impossible.
(So far) there is no posted star part of the problem.

Quote:
Originally Posted by henryzz View Post
Do any require 2*n+2? Is there an upper bound?
Interesting question. Worked out a really easy upper bound.
R. Gerbicz is offline   Reply With Quote
Old 2017-05-07, 13:46   #30
uau
 
Jan 2017

32·11 Posts
Default

Quote:
Originally Posted by henryzz View Post
Do any require 2*n+2? Is there an upper bound?
2*n+1 is an upper bound.
I guess it's better to not post the exact minimum of the puzzle case before the month is over as the value or reasoning for it could make finding solutions easier.
uau is offline   Reply With Quote
Old 2017-05-07, 13:59   #31
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

100000110000002 Posts
Default

Quote:
Originally Posted by uau View Post
2*n+1 is an upper bound.
I guess it's better to not post the exact minimum of the puzzle case before the month is over as the value or reasoning for it could make finding solutions easier.
depends on how many hyphen you are allowed in theory you can make this puzzle go up to 403+ in length if you don't care about how many hyphen there are.
science_man_88 is offline   Reply With Quote
Old 2017-05-07, 15:03   #32
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

1000000001112 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
depends on how many hyphen you are allowed in theory you can make this puzzle go up to 403+ in length if you don't care about how many hyphen there are.
Here the Upper-Bound implies the minimum number of hyphens that would produce a valid result (without saying).
a1call is offline   Reply With Quote
Old 2017-05-07, 21:22   #33
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by a1call View Post
Here the Upper-Bound implies the minimum number of hyphens that would produce a valid result (without saying).
aka a least upper bound technically an upper bound is any value greater than or equal to the number/last element of the set you want to study.
science_man_88 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
October 2017 Xyzzy Puzzles 9 2017-11-07 15:18
August 2017 Batalov Puzzles 15 2017-09-05 03:47
July 2017 R. Gerbicz Puzzles 6 2017-08-08 22:58
June 2017 R. Gerbicz Puzzles 14 2017-07-03 20:01
2017 LaurV Lounge 17 2017-01-01 15:22

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


Sat Jul 17 03:54:50 UTC 2021 up 50 days, 1:42, 1 user, load averages: 1.76, 1.87, 1.75

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.