See this Mathologer video for an explanation.