Central place theory and the gravity model

Towns are spaced by the range and threshold of the goods they sell, and interaction between two cities grows with their sizes and shrinks with the distance between them.

From AP Human Geography.