I How to create a fair distribution algorithm?

AI Thread Summary
The discussion focuses on creating a fair distribution algorithm for community donations based on members' continuous service days. A proposed formula suggests distributing a maximum of 10% of the total resource pool between two selected members, with the distribution proportional to their service duration. The total member-days are calculated to determine how much each day is worth, allowing for equitable distribution. An approach is also mentioned where members are sorted by tenure, and a random element is introduced for fractional distributions to ensure fairness. The goal is to develop a clear, mathematically sound algorithm for equitable resource allocation among community members.
riay00
Messages
1
Reaction score
0
Hi,
I am a math noob and need to understand what is the best mathematical formula for fair distribution. The problem statement is as follows:

We choose 2 numbers at a given time to distribute donations at a particular instance in time (The numbers from 1-6500 represent community members ID). The maximum % of the total resource we need to distribute between them is 10% from the overall resource pool. For fair distribution, we are counting the number of days they have served the community continuously. The longest one has served in days gets the appropriate amount of the distribution. I (Being very bad at mathematics come up with the following formula and hope no one will grill me for that :) ). Was looking for some expert to teach me how to come up with an algorithm for that:

- Fd = T * (Rn) * (P) /100
T = Number of days (Variable number)
Rn = Total Random number (Static 2)
P = Total % of resource from the pool (Static 10)
 
Mathematics news on Phys.org
If I understand correctly, you want to distribute funds from a pool to members in a community so that the distribution to each member is in proportion to that member's continuous days service.

The first task is to figure out how many total member continuous-days you have to distribute over.##D = \sum_\text{members} D_\text{member}##. Just add them up.

Now the distribution for each member-day is the total pool divided by the total member-days in the distribution. Each day earns ##\frac{P}{D}##.

So each member gets his number of continuous days multiplied by the above per-day figure.

If one is doing this by computer and needs for the distribution to be fair, for each member to receive an even number of pennies and for the total distribution to come to the right number of pennies then there is an approach that I have used in the past...

Take the members one at a time. Sort from shortest tenure to longest if you wish. Give the first member their distribution and roll a random number for the last fractional penny that they may be entitled to. So if a member is owed ##10 \frac{1}{3}## cents then they get ten cents with a random chance of one in three of getting eleven cents instead.

Subtract that member from the pool of member-days remaining to distribute over and from the pool of funds remaining to distribute.

Proceed to the next member and repeat until the final member gets whatever is left in the pool.
 
  • Like
Likes Vanadium 50
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top