{{ appName }}

Problem: Find all sets of consecutive integers that add to a specific number, N, which can be any integer — positive, negative, or zero.

Solution: This could be solved very laboriously by trial and error by hand or with a calculator. But there's a better way! Just enter the N value below and click the Solve button. N = 0 generates an infinite number of solutions, so only a few examples will be shown.

Errors

{{ error }}

Solving

{{ message }}

Solutions

  • {{ solution.problem() }}