Why hash tables collide sooner than you expect: with m slots you get a 50% collision after only about 1.2√m insertions, not m/2. The classic case: 23 people share a birthday with probability just over ½. Here i-13 multiplies the no-collision odds the product (m−i)/m for 23 in 365 and gets P(collision) = 0.5073.
The demo multiplies the survival odds for 23 people in 365 days: live demo
“You need 183 people (half of 365).” — the count grows like √m, not m: 23 is enough for even odds; 70 gives 99.9%. cited
Collisions come at √m, not m. probability
On i-13, the product for 23 in 365 gives P(collision) just over 0.5: