While reading about hash collisions I landed on this problem in Wikipedia Article on the Pigeonhole Principle.
While I think I understand the Pigeonhole principle, I am not sure what to make of this example and what the author tries to explain with it.
- The author uses 7 Players, where I think 5 would have been enough to make the Point
- In the mathematical formula the author drops the remaining 0.5 from the 6/4 without explanation
- After dropping 0.5 author uses an equal sign, which to me, signals equality of both sides.
Is this an acceptable equation? Why does the author use 7 Players instead of the 5 it would need to make the example? Is this not violating what the equal sign stands for?
I do not have enough faith in my opinion to edit a Wikipedia article, which is why I am asking here.
Although your intuition is correct in suggesting that $5$ players would have been the fewest number possible to apply the pigeonhole principle, the example is still correct as stated. The important fact here is that $7>4$.
The $0.5$ has been absorbed by the floor function: see here
$\lfloor\frac{6}{4}\rfloor=\lfloor1.5\rfloor=1$.
The answer concludes, based on the formula given in the introduction, that at least one team will contain $2$ of the players. It is possible, since there are $7$ players, that more than one team will contain $2$ of the players. It is also possible that one team will contain more than $2$ players. The pigeon-hole principle is the assertion that
at least one team will contain $2$ of the players
which is always true, given that there are $7$ players and $4$ teams.