Problem 2485 · Easy

Find the Pivot Integer

Walk x from 1 upward, keeping the running sum from the left, and compare it with the sum from x to n.

Open the interactive visualisation