Problem 2593. Polite numbers. N-th polite number.

Created by Jan Orwat in Community

A polite number is an integer that sums of at least two consecutive positive integers.

For example 7 = 3+4 so 7 is a polite number.

Given N return N-th polite number.

See also 2595

Solution Stats

48.55% Correct | 51.45% Incorrect
Last solution submitted on Jun 11, 2019

Problem Comments