image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > PF Lounge > General Discussion > Fun, Photos & Games > Brain Teasers


Reply

image 2 missing number riddles Share It Thread Tools Search this Thread image
Old Feb18-09, 08:37 AM                  #1
Sentenza

Sentenza is Offline:
Posts: 7
2 missing number riddles







I have been looking for hours... pfff...
  Reply With Quote
Old Feb18-09, 04:36 PM       Last edited by davee123; Feb18-09 at 06:06 PM..            #2
davee123

davee123 is Offline:
Posts: 468
Re: 2 missing number riddles

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:

Originally Posted by Sentenza View Post
Spoiler
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)|


Originally Posted by Sentenza View Post
Spoiler
I get 24-- if the labels are A, B, C (leftmost-to-rightmost), then one formula could be A+2B+2C+1. [edit]oops, should be 18, not 24[/edit]


DaveE
  Reply With Quote
Old Feb18-09, 05:53 PM                  #3
jimmysnyder

jimmysnyder is Offline:
Posts: 1,663
Re: 2 missing number riddles

Originally Posted by davee123 View Post
Spoiler
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
Spoiler
18
?
  Reply With Quote
Old Feb18-09, 06:05 PM                  #4
davee123

davee123 is Offline:
Posts: 468
Re: 2 missing number riddles

Originally Posted by jimmysnyder View Post
Shouldn't that be
Spoiler
18
?
Oops, yep, apparently there was a bug in my math.

DaveE
  Reply With Quote
Old Feb19-09, 03:55 AM                  #5
Sentenza

Sentenza is Offline:
Posts: 7
Re: 2 missing number riddles

Ok, some more info... You can only use the numbers in the riddle!
  Reply With Quote
Old Feb19-09, 09:42 AM                  #6
K.J.Healey

K.J.Healey is Offline:
Posts: 641
Re: 2 missing number riddles

Originally Posted by Sentenza View Post

Difference in right two - difference in left two? So -6?
  Reply With Quote
Old Feb19-09, 10:09 AM                  #7
jimmysnyder

jimmysnyder is Offline:
Posts: 1,663
Re: 2 missing number riddles

Originally Posted by K.J.Healey View Post
Difference in right two - difference in left two? So -6?
If you use absolute differences you get 6.
  Reply With Quote
Old Feb19-09, 10:29 AM                  #8
Sentenza

Sentenza is Offline:
Posts: 7
Re: 2 missing number riddles

Originally Posted by jimmysnyder View Post
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...
  Reply With Quote
Old Feb19-09, 10:37 AM                  #9
Gokul43201
 
Gokul43201's Avatar

Gokul43201 is Offline:
Posts: 10,265
Recognitions:
PF Contributor PF Contributor
Retired Staff Retired Staff
Re: 2 missing number riddles

Originally Posted by Sentenza View Post






I have been looking for hours... pfff...
Well, looks like you've found them both (the number riddles that were missing).
  Reply With Quote
Old Feb19-09, 10:46 AM                  #10
jimmysnyder

jimmysnyder is Offline:
Posts: 1,663
Re: 2 missing number riddles

Originally Posted by Sentenza View Post
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.
  Reply With Quote
Old Feb19-09, 12:02 PM                  #11
Gokul43201
 
Gokul43201's Avatar

Gokul43201 is Offline:
Posts: 10,265
Recognitions:
PF Contributor PF Contributor
Retired Staff Retired Staff
Re: 2 missing number riddles

I think the friend is handing out the conditions piecemeal.
  Reply With Quote
Old Feb19-09, 02:01 PM       Last edited by davee123; Feb19-09 at 04:09 PM..            #12
davee123

davee123 is Offline:
Posts: 468
Re: 2 missing number riddles

Originally Posted by Gokul43201 View Post
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:
Spoiler
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...

[edit]
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.
[/edit]

DaveE
  Reply With Quote
Old Feb19-09, 06:51 PM                  #13
Gokul43201
 
Gokul43201's Avatar

Gokul43201 is Offline:
Posts: 10,265
Recognitions:
PF Contributor PF Contributor
Retired Staff Retired Staff
Re: 2 missing number riddles

Originally Posted by davee123 View Post
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.
  Reply With Quote
Old Feb19-09, 10:57 PM                  #14
davee123

davee123 is Offline:
Posts: 468
Re: 2 missing number riddles

Originally Posted by Gokul43201 View Post
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.
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
  Reply With Quote
Old Feb20-09, 03:33 AM                  #15
Sentenza

Sentenza is Offline:
Posts: 7
Re: 2 missing number riddles

Probably a stupid question, but what is % ? (i know it's the symbol for percentage, but what do you use it for here?)
  Reply With Quote
Old Feb20-09, 09:09 AM                  #16
davee123

davee123 is Offline:
Posts: 468
Re: 2 missing number riddles

Originally Posted by Sentenza View Post
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
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: 2 missing number riddles
Thread Thread Starter Forum Replies Last Post
Good riddles Schrodinger's Dog Brain Teasers 47 May25-09 03:50 PM
Find The Missing Number Zetep Brain Teasers 3 Dec22-07 10:51 AM
Two Riddles qspeechc Brain Teasers 14 Oct17-07 05:53 PM
The problem with riddles... dduardo General Discussion 5 Jul22-05 09:37 PM
Riddles! Bobert Brain Teasers 22 Aug2-04 02:14 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image