Random numbers might not sound like a public good, but we actually rely on randomness for a host of socially useful things.