\ Circle Packing Demo

Can you find the function for combined perimeter based on circle count?
The current perimeter is