GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 58

Maximum arithmetic partial sum

General Aptitude · Algebra, Equations & Number Patterns · Full GATE CSE 2013 paper

GATE 2013, Q58 1 mark · MCQ
Report issue

Algebra, Equations & Number Patterns

Question 58, GATE 2013: Find the maximum sum of an initial segment of 44, 42, 40,… . Options A502, B504, C506, D500.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

The successive terms decrease by 2. Include all positive terms 44, 42,..., 2; adding 0 changes nothing and subsequent negative terms reduce the sum. There are 22 positive terms, with sum 22(44+2)/2=506, C.

Let Sm be the sum of the first m terms. Its next increment is 44−2m. While this is positive, taking another term increases the total; once it is negative, taking it decreases the total. The positive terms stop at 2, so there are (44−2)/2+1=22. The arithmetic-series formula gives S22=22×46/2=506. Taking the following zero term ties this maximum, but no later prefix exceeds it.

Original paper, page 13 · Answer key