Hacker News new | ask | show | jobs
by wtallis 3201 days ago
Medals are awarded in integer quantities, and you don't want j·g+k·s+l·b=0 to be possible for integer j,k,l (except when all three medal counts are 0).

This is actually a slightly stronger condition than is needed, because no country can earn negative medals and there are a finite number of medals available, so you could actually have the weights for eg. gold and silver medals differ by a rational factor as long as the denominator was large enough.

1 comments

Cheers!