For which natural K does the number reach its maximum value?

Let’s consider the sequence . Note that But Consequently, our inequality holds if and only if n ≤ 2000. This means that the sequence up to the 2001th term increases and then decreases.

For n = 2001.