Insight · ★★★☆☆ · ~7 min
Two Questions, Three Numbers
Learn three hidden numbers with just two sum-queries. How?
by MindYourPuzzle
Someone thinks of 3 natural numbers x, y, z. You can ask for any two linear combinations (ax + by + cz) and see the result. You choose the second query after seeing the first answer.
How do you always recover x, y, z exactly?
Hints