Mathy Marriage
Match every woman to a man with arithmetic.
Each puzzle consists of a list of women
, men
, and numbers
, where the women
and men
are numbers themselves. The goal is to apply arithmetic operations on women
using numbers from numbers
so that each woman is changed to be equal to one unique man. A number in numbers
can be used only once.
Finally, the arithmetic operations consist of:
- addition
- subtraction
- multiplication
- division (must divide cleanly)
Each arithmetic operation must be applied to the woman, e.g. operation_two(operation_one(woman, num_one), num_two)
.
Admittedly, this may appear a bit confusing, so let’s see an example! Suppose we have the women, men, and numbers below:
women: [19, 15, 22]
men: [20, 2, 3]
numbers: [4, 2, 5, 4, 5]
Then, a possible solution is the following:
woman 19 matched with man 2: ((19 + 5) / 4) - 4
woman 15 matched with man 3: 15 / 5
woman 22 matched with man 20: 22 - 2
Observe that:
- Each number in
numbers
is used at most once, e.g. the only time the2
is used is in the operation22 - 2
. Most solutions will require all to be used, but some may not! - Each woman is matched to a unique man who doesn’t necessarily appear at the same index as her.
Without further ado, here are some challenges. Grab some paper and a pencil and enjoy! Each puzzle was created programmatically, and is ensured to only have one solution!
Puzzle Difficulties:
Mild
Two Pairs, Three Numbers
Puzzle 1:
women: [14, 22]
men: [24, 23]
numbers: [5, 2, 2]
Solution:
Puzzle 2:
women: [24, 15]
men: [13, 10]
numbers: [2, 6, 3]
Solution:
Puzzle 3:
women: [20, 8]
men: [4, 2]
numbers: [3, 5, 2]
Solution:
Puzzle 4:
women: [8, 23]
men: [17, 1]
numbers: [6, 2, 3]
Solution:
Puzzle 5:
women: [16, 7]
men: [14, 24]
numbers: [2, 5, 2]
Solution:
Puzzle 6:
women: [23, 6]
men: [11, 16]
numbers: [1, 2, 7]
Solution:
Puzzle 7:
women: [16, 7]
men: [4, 18]
numbers: [2, 4, 4]
Solution:
Puzzle 8:
women: [5, 24]
men: [12, 11]
numbers: [3, 7, 3]
Solution:
Puzzle 9:
women: [13, 10]
men: [24, 8]
numbers: [4, 2, 5]
Solution:
Puzzle 10:
women: [7, 14]
men: [19, 18]
numbers: [3, 2, 4]
Solution:
Medium
Two Pairs, Four Numbers
Puzzle 1:
women: [3, 23]
men: [14, 12]
numbers: [7, 1, 2, 7]
Solution:
Puzzle 2:
women: [1, 11]
men: [14, 4]
numbers: [1, 4, 1, 1]
Solution:
Puzzle 3:
women: [23, 5]
men: [3, 12]
numbers: [5, 2, 2, 2]
Solution:
Puzzle 4:
women: [24, 6]
men: [16, 7]
numbers: [5, 2, 2, 2]
Solution:
Puzzle 5:
women: [5, 21]
men: [2, 12]
numbers: [2, 3, 2, 4]
Solution:
Puzzle 6:
women: [17, 23]
men: [11, 15]
numbers: [5, 4, 6, 4]
Solution:
Puzzle 7:
women: [10, 24]
men: [15, 1]
numbers: [3, 4, 7, 2]
Solution:
Puzzle 8:
women: [9, 21]
men: [15, 19]
numbers: [2, 2, 7, 7]
Solution:
Puzzle 9:
women: [14, 23]
men: [5, 12]
numbers: [1, 2, 1, 4]
Solution:
Puzzle 10:
women: [17, 18]
men: [21, 23]
numbers: [3, 5, 5, 5]
Solution:
Hot
Three Pairs, Five Numbers
Puzzle 1:
women: [18, 20, 21]
men: [14, 5, 13]
numbers: [4, 4, 7, 4, 4]
Solution:
Puzzle 2:
women: [19, 15, 22]
men: [20, 2, 3]
numbers: [4, 2, 5, 4, 5]
Solution:
Puzzle 3:
women: [1, 13, 3]
men: [23, 9, 6]
numbers: [7, 2, 7, 4, 1]
Solution:
Puzzle 4:
women: [18, 5, 16]
men: [11, 19, 8]
numbers: [3, 4, 4, 4, 5]
Solution:
Puzzle 5:
women: [12, 16, 1]
men: [19, 14, 21]
numbers: [5, 1, 5, 7, 4]
Solution:
Puzzle 6:
women: [7, 14, 6]
men: [8, 15, 20]
numbers: [1, 1, 4, 4, 7]
Solution:
Puzzle 7:
women: [22, 15, 13]
men: [21, 2, 18]
numbers: [3, 5, 2, 6, 2]
Solution:
Puzzle 8:
women: [11, 18, 21]
men: [8, 3, 16]
numbers: [5, 2, 1, 5, 4]
Solution:
Puzzle 9:
women: [22, 7, 24]
men: [10, 2, 20]
numbers: [2, 2, 7, 1, 2]
Solution:
Puzzle 10:
women: [20, 8, 7]
men: [2, 3, 4]
numbers: [1, 7, 5, 3, 3]
Solution:
Habanero
Four Pairs, Six Numbers
Puzzle 1:
women: [7, 3, 20, 6]
men: [8, 10, 23, 19]
numbers: [5, 5, 3, 5, 5, 1]
Solution:
Puzzle 2:
women: [20, 4, 24, 19]
men: [9, 8, 3, 6]
numbers: [5, 7, 2, 2, 4, 2]
Solution:
Puzzle 3:
women: [20, 21, 19, 10]
men: [17, 2, 14, 9]
numbers: [1, 5, 1, 1, 3, 6]
Solution:
Puzzle 4:
women: [9, 24, 3, 5]
men: [8, 20, 21, 19]
numbers: [2, 1, 2, 3, 4, 1]
Solution:
Puzzle 5:
women: [23, 8, 3, 22]
men: [4, 6, 16, 20]
numbers: [6, 1, 3, 7, 7, 6]
Solution:
Puzzle 6:
women: [23, 20, 1, 7]
men: [16, 13, 14, 4]
numbers: [3, 3, 2, 5, 5, 4]
Solution:
Puzzle 7:
women: [4, 21, 7, 20]
men: [17, 9, 15, 13]
numbers: [2, 4, 6, 6, 2, 7]
Solution:
Puzzle 8:
women: [21, 7, 18, 5]
men: [15, 24, 4, 11]
numbers: [5, 7, 4, 6, 7, 5]
Solution:
Puzzle 9:
women: [21, 23, 1, 6]
men: [3, 24, 15, 16]
numbers: [6, 3, 6, 1, 7, 6]
Solution:
Puzzle 10:
women: [9, 24, 19, 5]
men: [18, 17, 23, 14]
numbers: [7, 4, 4, 6, 3, 4]