View Full Version : 2 missing number riddles
Sentenza
Feb18-09, 08:37 AM
http://users.telenet.be/Edu/raadsel01.jpg
http://users.telenet.be/Edu/raadsel02.jpg
I have been looking for hours... pfff...
davee123
Feb18-09, 04:36 PM
These are kind of silly, since they probably have dozens of possible solutions-- there aren't any stated rules, it's just whatever makes sense to you. Here's some quickie answers I got:
http://users.telenet.be/Edu/raadsel01.jpg
One answer could be 1725. If upper-left is A, lower-left is B, upper right is C, and lower-right is D, then you could have: |C-(|2A-2B|^D)|
http://users.telenet.be/Edu/raadsel02.jpg
I get 24-- if the labels are A, B, C (leftmost-to-rightmost), then one formula could be A+2B+2C+1. oops, should be 18, not 24
DaveE
jimmysnyder
Feb18-09, 05:53 PM
I get 24-- if the labels are A, B, C (leftmost-to-rightmost), then one formula could be A+2B+2C+1.
Shouldn't that be 18?
davee123
Feb18-09, 06:05 PM
Shouldn't that be 18?
Oops, yep, apparently there was a bug in my math.
DaveE
Sentenza
Feb19-09, 03:55 AM
Ok, some more info... You can only use the numbers in the riddle!
K.J.Healey
Feb19-09, 09:42 AM
http://users.telenet.be/Edu/raadsel01.jpg
Difference in right two - difference in left two? So -6?
jimmysnyder
Feb19-09, 10:09 AM
Difference in right two - difference in left two? So -6?
If you use absolute differences you get 6.
Sentenza
Feb19-09, 10:29 AM
If you use absolute differences you get 6.
I found this too... But it's wrong... (a friend of mine gave me the riddles)
For the second one 18 is wrong. He said you have to use squares...
Gokul43201
Feb19-09, 10:37 AM
http://users.telenet.be/Edu/raadsel01.jpg
http://users.telenet.be/Edu/raadsel02.jpg
I have been looking for hours... pfff...Well, looks like you've found them both (the number riddles that were missing).
jimmysnyder
Feb19-09, 10:46 AM
I found this too... But it's wrong... (a friend of mine gave me the riddles).
I can understand you saying that it is not the number that your friend was thinking of, but why do you say it is wrong? It meets all the conditions of the puzzle. For one thing, you should add all the conditions to the puzzle at the outset and not hand them out piecemeal. For another, you should add an extra condition to this puzzle: If the puzzle has more than one solution, then only the one my friend is thinking of counts.
Gokul43201
Feb19-09, 12:02 PM
I think the friend is handing out the conditions piecemeal.
davee123
Feb19-09, 02:01 PM
I think the friend is handing out the conditions piecemeal.
Yeah, the friend is inaccurate to declare the answer as wrong. Note that "He said you have to use squares" in the 2nd problem, and yet there isn't even a number 2 in the 2nd drawing. So raising something to the 2nd power is using a non-existent number already. You could admittedly GET a 2 if you do a 7-5, but then you've used up a 7 and 5, and can't get a 20 using only 2 and 6. And if you allow using numbers multiple times, then you could say that my earlier answer was correct by rewriting it: A+B+B+C+C+(A/A).
I wrote a program a while back to solve things like these that goes through all the permutations of multiplication, addition, subtraction, division, powers, and modulus-- maybe I can tweak it to show all the possible solutions... Hmmm...
Ok, my original program worked for 4 input numbers, so I could verify that using addition, subtraction, multiplication, division, powers, logs, and modulus, and using each "outlying number" only once, that these are the available solutions for the 1st problem (assuming upper-left is A, lower-left is B, upper-right is C, lower-right is D):
(((B-A)%C)+D)
(D-((A-B)%C))
(D+((B-A)%C))
(((D%C)+B)-A)
(((D%C)+B)%A)
((B+(D%C))-A)
((B+(D%C))%A)
(((D%C)-A)+B)
(B+((D%C)-A))
(B%((D%C)-A))
(B-(A-(D%C)))
(B%(A-(D%C)))
(((A+B)+D)%C)
(((B+A)+D)%C)
(((B-A)+D)%C)
((D+(A+B))%C)
((D-(A-B))%C)
((D+(B+A))%C)
((D+(B-A))%C)
(((A+D)+B)%C)
(((D+A)+B)%C)
(((D-A)+B)%C)
((B+(A+D))%C)
((B-(A-D))%C)
((B%(A-D))%C)
((B+(D+A))%C)
((B+(D-A))%C)
((B%(D-A))%C)
(((B+D)+A)%C)
(((B+D)-A)%C)
(((B+D)%A)%C)
(((D+B)+A)%C)
(((D+B)-A)%C)
(((D+B)%A)%C)
((A+(B+D))%C)
((A+(D+B))%C)
Obviously that doesn't include absolute value, trig functions, factorials, "square", "square root", "cube", "cube root", up-arrow notation, Choose, etc. So that's examining 32,928 possible formulas. If you included a "reasonable" amount of the other functions, it'd be on the order of 5 octillion possible formulas (really infinite), so I decided to skip that.
DaveE
Gokul43201
Feb19-09, 06:51 PM
I wrote a program a while back to solve things like these that goes through all the permutations of multiplication, addition, subtraction, division, powers, and modulus-- maybe I can tweak it to show all the possible solutions...Whe I first saw a bunch of Sengupta's cryptarithms, I was thinking about exactly this: that it wouldn't take too long to write a program (and much less time to run it) to wade through the 9! or so possibilities for all of those puzzles. Next, I wondered if that wasn't exactly what you had done. :biggrin:
davee123
Feb19-09, 10:57 PM
Whe I first saw a bunch of Sengupta's cryptarithms, I was thinking about exactly this: that it wouldn't take too long to write a program (and much less time to run it) to wade through the 9! or so possibilities for all of those puzzles. Next, I wondered if that wasn't exactly what you had done. :biggrin:
Yeah, depending on the question, sometimes I'll brute force my way through. But usually I'll try and see what mathemagical tricks I can use before I resort to that. The permutations listed above were actually for a much trickier problem:
http://www.physicsforums.com/showthread.php?t=204239
Basically, the inputs, outputs, and functions were all fair game, so brute force was the only way I could think of to hack it. And sometimes, you can sort of know in advance that it's the only way-- like when dealing with primes, which don't have a nice mathematical formula for solving them.
DaveE
Sentenza
Feb20-09, 03:33 AM
Probably a stupid question, but what is % ? (i know it's the symbol for percentage, but what do you use it for here?)
davee123
Feb20-09, 09:09 AM
Probably a stupid question, but what is % ? (i know it's the symbol for percentage, but what do you use it for here?)
That's the modulus function-- it's basically the "remainder" function. So 12 % 5 = 2, 33 % 41 = 33, 11 % 2.5 = 1, etc.
DaveE
Sentenza
Feb20-09, 10:20 AM
That's the modulus function-- it's basically the "remainder" function. So 12 % 5 = 2, 33 % 41 = 33, 11 % 2.5 = 1, etc.
DaveE
Thanks, I know it as 'rest' :)
He said I was very close with "the difference between the sum of the left numbers and the sum of the right numbers" ... It has to be something this easy...
(I hope you understand, I'm dutch-speaking ;) )
Sentenza
Feb20-09, 10:44 AM
I got the one with the triangles
A=bottom left, B=top, C=bottom right
(A^2+C^2) - B = middle
Soca fo so
Feb26-09, 12:19 PM
http://users.telenet.be/Edu/raadsel01.jpg
The first one could be:
Zero. You can make each of the five numbers by adding or subtracting two or more of the others
Sentenza
Feb27-09, 04:58 AM
The first one could be:
Zero. You can make each of the five numbers by adding or subtracting two or more of the others
It's the sum of the even numbers - the sum of the odd numbers
That stupid...
vBulletin® v3.7.6, Copyright ©2000-2009, Jelsoft Enterprises Ltd.