These are the conditions in Baldyville:
1. No two inhabitants have the same number of hairs on their head.
2. No inhabitant has exactly 518 hairs.
3. There are more inhabitants in town than hairs on any individual inhabitant's head.
What is the highest possible number of inhabitants?
There can live maximum of 518 people in the town. By the way, it is clear that one inhabitant must be baldy, otherwise there wouldn’t be a single man in the town.