Puzzle Classic
During a school lunch break, ten kids are discussing after school jobs. In particular, they would like to know their average monthly salary (for the ten of them), but no one wants to admit openly exactly what they make. Can you devise a way for them to calculate their average (mean) salary without anyone having to tell anyone else what their individual salaries are?
- Guess 1: not used
- Guess 2: not used
- Guess 3: not used
- Guess 4: not used
Show the answer (spoiler)
Although there may be other solutions, here is a simple one: The first person takes his monthly salary (lets say $100), adds an arbitrary amount that only he knows (lets say $475) and whispers that number ($575) to the second person. The second person then adds his monthly salary (lets say $150) to that value and whispers the new total ($725) to the third person. The third person adds in his salary, whispers the new total to the fourth person and so on until the tenth person adds in his salary and whispers the final total to the first person. The first person then subtracts his arbitrary number from that total, divides by 10, which produces (assuming that no one made an error in arithmetic!) the average monthly salary for the group without anyone having to divulge their salary to anyone else.
A running total passed around the group only ever reveals a sum, and the first person's secret number hides their salary from the second. Subtracting it at the end leaves the true total to divide by 10.