How do i calculate the number of 1-to-1 handshakes in this scenario?
If i have n number of people, but they can only shake hands with a maximum of i number of people (and assume they all maximize at i if that is feasible) how many handshakes would there be?
As example, with 6 people (n=6), maximum i=4 handshakes, then the total handshakes will be 12 (calculating manually). In this case, it can be solved that every person does 4 exactly shakes.
What is the formula to generalize this?