# 2 missing number riddles

I have been looking for hours... pfff...

Last edited by a moderator:

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:

[/URL]

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)|

[/URL]

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

DaveE

Last edited by a moderator:
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
?

Shouldn't that be
18
?

Oops, yep, apparently there was a bug in my math.

DaveE

Ok, some more info... You can only use the numbers in the riddle!

Difference in right two - difference in left two? So -6?

Last edited by a moderator:
Difference in right two - difference in left two? So -6?
If you use absolute differences you get 6.

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
Staff Emeritus
Gold Member

I have been looking for hours... pfff...
Well, looks like you've found them both (the number riddles that were missing).

Last edited by a moderator:
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
Staff Emeritus
Gold Member
I think the friend is handing out the conditions piecemeal.

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

DaveE

Last edited:
Gokul43201
Staff Emeritus
Gold Member
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.

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:

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

Probably a stupid question, but what is % ? (i know it's the symbol for percentage, but what do you use it for here?)

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

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 ;) )

I got the one with the triangles

A=bottom left, B=top, C=bottom right

(A^2+C^2) - B = middle

The first one could be:

Zero. You can make each of the five numbers by adding or subtracting two or more of the others

Last edited by a moderator:
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...