Box of Secrecy

Logic Level 5

A group of girls (at least two) wanted to know the average age of the entire group but none of them are willing to divulge their age. They devised a strategy by using a calculator that doesn't store steps such that each girl tapped some keys and passed it on to the other girls. After some finite time, they had the average of their ages but no one knows the exact age of any other girls.

If the total number of girls is 99, how many possible number of girls are there such that they can accomplish this task?

Saw this somewhere on the interwebs.


The answer is 97.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Maggie Miller
Jul 8, 2015

If there are only two girls, then from the average either girl can calculate the age of the other, so the goal is impossible.

If there are more than two girls, they can find their average age without giving away any individual ages via the following method:

  1. The first girl picks her favorite number (say between 1 and 100) and adds it to her age, keeping her favorite number a secret.
  2. Each other girl is given a turn to add their age to the total.
  3. The first girl subtracts her favorite number from the total and divides by the number of girls present to find their average age.

Thus, the girls can find their average age without giving away their individual ages if and only if there are more than two girls. Since we are assuming there are 99 girls, the answer is 97 \boxed{97} .

CORRECT!!!!!

Pi Han Goh - 5 years, 11 months ago

How did you get 97??

Shubham Bhargava - 5 years, 10 months ago

Log in to reply

3,4,5,6,..., 99 <<< total of 97 numbers

Pi Han Goh - 5 years, 10 months ago

Log in to reply

I finally get it. Thanks so much.

Shubham Bhargava - 5 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...