# The Grey Labyrinth is a collection of puzzles, riddles, mind games, paradoxes and other intellectually challenging diversions. Related topics: puzzle games, logic puzzles, lateral thinking puzzles, philosophy, mind benders, brain teasers, word problems, conundrums, 3d puzzles, spatial reasoning, intelligence tests, mathematical diversions, paradoxes, physics problems, reasoning, math, science.

Author Message
MatthewV
Daedalian Member :_

Posted: Tue Feb 21, 2012 11:51 am    Post subject: 1

The objective is to is to use the randomly chosen numbers 9 20 9 19 1 12 5 1 16 25 5 1 18
to be as close to 2012+29*(2+e) (2148.83017...) with the smallest score. The numbers must be used in order. Mathematical symbols have the following cost:

 Code: sign  cost  example  +    free  3+9=12   -    1     5-3-1=1   (cost of 1*2=2)  *    3     4*3*3=36  (cost of 3*2=6)  /    3     20/5=4  (cost of 3)  ^    5     2^4=16    (roots can be made with ^.5 for the same cost)  ()   2     5*(2+4)=30 (NOTE: the * is not included in the cost) (cost: 3+2=5)  !    7     4!=24      |ab|  4     |-12|=12  log   7     log100=2  (ONLY base 10) ln    10     ln60=4.094344... combining two numbers (you have 17 and 3 next to each other->173)       10 sin cos tan   10   (ONLY in radians) csc sec cot asin acos atan  10 (arctan) (output in radians) acsc asec acot Being away from 2012+29*(2+e) has the cost of 5*(distance away) If you get to 2150, 5*(2012+29*(2+e)-2150)= ~5.85. This will be carried out as far as needed to break ties when possible.

The order of operations are very important. Submissions may be PMed to me or posted in the thread.

Link to last game

This will end on February 29 at 11:59 Alaska Time.
novice
No harm. Pun intended!

 Posted: Tue Feb 21, 2012 12:33 pm    Post subject: 2 But what have leap years got to do with anything?
Zag
Tired of his old title

 Posted: Tue Feb 21, 2012 4:20 pm    Post subject: 3 Sent. Under 15 points.
Elethiomel
Daedalian Member

 Posted: Tue Feb 21, 2012 11:52 pm    Post subject: 4 Sent. Under 14 points.
mv*
Guest

 Posted: Wed Feb 22, 2012 2:55 am    Post subject: 5 next time I am going to make () much more expensive!
Elethiomel
Daedalian Member

 Posted: Wed Feb 22, 2012 1:58 pm    Post subject: 6 Sent a new one. Under 10 points.
Zag
Tired of his old title

 Posted: Wed Feb 22, 2012 7:16 pm    Post subject: 7 really? Wow. I was at 11.84915 (expecting, actually, to tie for a win with several people, because it isn't that hard to find). I'm amazed that it can be beaten.
Zag
Tired of his old title

 Posted: Wed Feb 22, 2012 7:27 pm    Post subject: 8 9 + 20 + 9 + 19 + 1 + 12*(5+1) + 16*25*5 + 1 + 18 = 2149 Cost = 9 + 2 + 0.84915 = 11.84915 (Three *, one set of parens, difference times 5) Edit: 9 + 20 + 9 + 19 + 1 - 12- 5 + (1 + 16)*25*5 + 1 - 18 = 2149 Exactly the same cost.
Zag
Tired of his old title

 Posted: Wed Feb 22, 2012 8:01 pm    Post subject: 9 OK. You shouldn't have said anything. Now I have your answer, too. And I just solved it by hand -- no computer assistance. (Well, just a calculator).
Elethiomel
Daedalian Member

 Posted: Wed Feb 22, 2012 8:05 pm    Post subject: 10 Here is mine. One -, Two *, One set of parens. 9 + 20 - 9 + 19 + 1 + ( 12 + 5 + 1 + 16 * 25 ) * 5 + 1 + 18 = 2149 The first one I submitted was more accurate, but used another set of parens: (9 + 20 + 9) * (19 - 1 / 12 - 5 + 1 + 16 + 25) + 5 + 1 + 18 = 2148 5/6 I only take credit for the programming effort, though. My computer did all the legwork. Nice work solving these manually.
MatthewV
Daedalian Member :_

 Posted: Thu Mar 01, 2012 5:36 am    Post subject: 11 Oh right, this ends in a few hours.
novice
No harm. Pun intended!

 Posted: Thu Mar 01, 2012 8:58 am    Post subject: 12 Well here's what my javascript solver could come up with before it crashed after 12550000 formulas: Javascript is probably not the best language to code this in. But using an interpreted language saved me from writing an evaluation function, and the solver also works as a javascript performance benchmark.
Elethiomel
Daedalian Member

 Posted: Thu Mar 01, 2012 10:28 am    Post subject: 13 I took a similar approach, in that I used Python and approached the problem as a string processing problem, simply using eval() for evaluating expressions. By the look of your parameters, I also limited the search space much more, and once I found some good solutions I knew there was no need to make a broader search.
MatthewV
Daedalian Member :_

 Posted: Thu Mar 01, 2012 10:29 am    Post subject: 14 I guess this one was too easy Well, it shouldn't be too surprising to the two participants... Elethiomel (around 12.02) (9 + 20 + 9) * (19 - 1 / 12 - 5 + 1 + 16 + 25) + 5 + 1 + 18=2 148.83333 Zag (9 + 2 + 0.84915 = 11.84915) 9 + 20 + 9 + 19 + 1 + 12*(5+1) + 16*25*5 + 1 + 18 = 2149 Elethiomel and Zag 9 + 20 - 9 + 19 + 1 + (12 + 5 + 1 + 16*25)*5 + 1 + 18 = 2149 cost = 1 + 2 + 3 + 3 + 0.84915 = 9.84915
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year by All usersAnonymousElethiomelMatthewVnoviceZag Oldest FirstNewest First
 All times are GMT Page 1 of 1

 Jump to: Select a forum Puzzles and Games----------------Grey Labyrinth PuzzlesVisitor Submitted PuzzlesVisitor GamesMafia Games Miscellaneous----------------Off-TopicVisitor Submitted NewsScience, Art, and CulturePoll Tournaments Administration----------------Grey Labyrinth NewsFeature Requests / Site Problems
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Site Design by Wx3