Average salary problem

4 views
Skip to first unread message

Susam Pal

unread,
Aug 9, 2011, 8:44:44 AM8/9/11
to cotpi
A simple puzzle I learnt from a colleague.

A group of friends wants to know their average salary. With a pen and
paper available, devise a strategy to achieve this such that no
individual's salary can be deduced.

--
P.S. BTW, please post any interesting puzzles (easy as well as tough
ones) you come across to this mailing list. That is the purpose of
having this mailing list.

kunal kishor

unread,
Aug 25, 2011, 4:22:55 AM8/25/11
to co...@googlegroups.com
Hi,

 What's the soln to this problem?

--
You received this message because you are subscribed to the 'cotpi' mailing list.

To post a message to this mailing list, visit: http://groups.google.com/group/cotpi/post
or email your message to: co...@googlegroups.com.

To unsubscribe from this list, send a blank email to cotpi+un...@googlegroups.com

cotpi URLs:

 * Mailing list archive: http://groups.google.com/group/cotpi
 * Chat: http://cotpi.com/irc/ or http://webchat.freenode.net/?channels=cotpi
 * Website: http://cotpi.com/

Susam Pal

unread,
Aug 27, 2011, 10:37:08 PM8/27/11
to cotpi
Here is a solution sent to me by Ryan Batterman:

Let n be the number of friends in the group. Rip the paper into n
pieces, and have the friends stand in a circle. The first friend will
write a number which is a random number + his salary on his piece of
paper and hand it off to the person in front of him. Then the second
person will add his salary to the number, writing it on his clean
piece of paper; he hands this off to the 3rd person. This cycle
continues until the first person (who originally wrote the
pseudorandom number on his sheet) has a sheet representing the sum of
the salaries and the random number. He subtracts the random number,
and tells everyone the sum of the salaries.
Reply all
Reply to author
Forward
0 new messages