Scientists reveal the hidden math that governs how neurons cluster in the brain