Problem 2485 · Easy
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