The first term of an arithmetic progression is positive, its 5th term is 22 and its 9th term is 10. Find the maximum possible value of the sum of the first $n$ terms, over all positive integers $n$.
Answer and solution
Correct answer: 210
Solution
1. $a_9 - a_5 = 4d = 10 - 22$, so $d = -3$; $a = 22 - 4(-3) = 34$ (positive, as required).
2. The terms are $a_n = 37 - 3n$. They stay positive up to $n = 12$ ($a_{12} = 1$) and $a_{13} = -2$ is negative.
3. The sum is largest when all positive terms are added and no negative term: $S_{12} = \frac{12}{2}(2 \times 34 + 11 \times (-3)) = 6 \times 35 = 210$.
Quick check: $S_{11} = 209$, $S_{12} = 210$, $S_{13} = 208$.
Answer: 210
2. The terms are $a_n = 37 - 3n$. They stay positive up to $n = 12$ ($a_{12} = 1$) and $a_{13} = -2$ is negative.
3. The sum is largest when all positive terms are added and no negative term: $S_{12} = \frac{12}{2}(2 \times 34 + 11 \times (-3)) = 6 \times 35 = 210$.
Quick check: $S_{11} = 209$, $S_{12} = 210$, $S_{13} = 208$.
Answer: 210