Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 4 numbers 5,5,3,1. Now I have the number 5, which I can distribute in any manner to these 4 numbers. Now I have to find the maximum possible frequency of the mode from all the newly formed sequences. For instance I can form 5,5,5,1.(give 2 to 3) Note that all the numbers might not be distributed.

What is the general approach of such problem? Note that I just the maximum possible frequency of the sequence.

share|cite|improve this question
What do you mean by "distribute"? And what does "(give $2$ to $3$)" mean? – Patrick Li Jan 29 '13 at 16:08
I mean lets say I have 4 children and each have 5,5,3,1 chocolates. I have 5 chocolates and would like everyone to have almost equal number of chocolates. So I give 2 chocolates to the 3rd child(which has 3 chocolates). This makes the chocolate distribution 5,5,5,1 – sudeepdino008 Jan 29 '13 at 16:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.