Problem 441 · Easy

Arranging Coins

Find how many complete staircase rows fit when row i needs i coins and the leftover coins may form an incomplete row. The visual stacks rows of growing width and stops counting when the next row no longer fits.

Open the interactive visualisation