Problem 2579 · Medium

Count Total Number of Colored Cells

Each minute adds a ring of four times the minute index minus one cells around the first colored cell.

Open the interactive visualisation