I'm at a loss as to how to go about solving this math problem:
TWO MISSING OPERATORS
--------------------
INPUT: 8, 16
OUTPUT: 20, 40
So, 8 maps to 20, and 16 maps to 40 using two operations.
The two operations involved can be either multiplication, division, addition, or subtraction - the trick is that they have to be the same for each set of input/output.
Any idea on how to solve this, other than random guessing?
EXAMPLE:
8 (+x) || (-x) || (*x) || (%x) && (+y) || (-y) || (*y) || (%y) = 20
Problem 2 - Anyone figure this out, without guessing? (also two operations)
9 -> 58
13 -> 82
6 -> 40
TWO MISSING OPERATORS
--------------------
INPUT: 8, 16
OUTPUT: 20, 40
So, 8 maps to 20, and 16 maps to 40 using two operations.
The two operations involved can be either multiplication, division, addition, or subtraction - the trick is that they have to be the same for each set of input/output.
Any idea on how to solve this, other than random guessing?
EXAMPLE:
8 (+x) || (-x) || (*x) || (%x) && (+y) || (-y) || (*y) || (%y) = 20
Problem 2 - Anyone figure this out, without guessing? (also two operations)
9 -> 58
13 -> 82
6 -> 40