mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2017-06-06, 10:14   #12
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by LaurV View Post
grrr... another silly problem... the formulation is unclear, where and whenever you can/may/must place signs, and what's happening if you don't...

"while other seven-digit numbers simply cannot be solved, such as 0314157"

0+3-1+41+57=100

skip.
if the 7 weren't there I could get 100. as to finding unsolvable ones other than the one given under only multiplication 100=2*2*5*5 =4*5*5 = etc. which translate to any number with three 1's , two 2's, and two 5's is solvable under straight multiplication as is any with four 1's, one 4, and two 5's. etc. edit: and to uau nope but -1^2 = i^4 so we technically are working in powers of them etc.

Last fiddled with by science_man_88 on 2017-06-06 at 11:03
science_man_88 is offline   Reply With Quote
Old 2017-06-06, 14:50   #13
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

There are a few interesting technical questions hidden in the very first half an hour of thinking about coding the problem (and no, unlike last month's problem, for this one there is no way to avoid coding!):

1. Given two digits i and j, how many operations can you do? Well, 4, duh. ...and with the unary minus? You could think of 16, but doing unary minus on j will give redundant results, so maybe it is 8? ... ...and so will unary minus on i, in fact! So it is still 4 - with one huge unary minus operation reserved for the last operation on the whole train of digits. It is equivalent to all the ways of using unary minus operation anywhere else.

2. How many non-redundant ways of applying pairwise operations can you enumerate? Brute-force it would be 720 which is 6! first you can combine any tow digits, 6 ways; then repeat on what's resulting - 5 ways, and so on... but in fact it is much lower, because brute force will count [I](a op b) c (d op e) f g[/I] twice
Batalov is offline   Reply With Quote
Old 2017-07-03, 19:08   #14
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

25×257 Posts
Default

https://www.research.ibm.com/haifa/p.../June2017.html
Xyzzy is offline   Reply With Quote
Old 2017-07-03, 20:01   #15
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250516 Posts
Default

Machine-generated solutions are simultaneously ugly and riveting! ;-)
Quote:
((0+3)*6)*(5+5/3/3)
Batalov is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
June 2016 Xyzzy Puzzles 16 2016-07-07 02:51
June 2015 Batalov Puzzles 10 2015-07-07 14:59
LLRnet/PRPnet rally June 4th-6th gd_barnes No Prime Left Behind 61 2010-07-30 17:28
Max on the move: vacation June 28/30-July 4 mdettweiler No Prime Left Behind 8 2009-07-05 05:20
LLRnet server rally 400<k<1001 June 20-22 mdettweiler No Prime Left Behind 67 2008-06-23 15:32

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


Sat Jul 17 03:56:26 UTC 2021 up 50 days, 1:43, 1 user, load averages: 1.90, 1.92, 1.78

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.