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

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

47.51% Correct | 52.49% Incorrect
Last Solution submitted on Dec 13, 2019

Problem Comments