The Math Behind Social Distancing