Skip to content
Official PYQ · 2013

GATE CS 2013 Q58 — General Aptitude

Explain with AI

What will be the maximum sum of 44,42,40,…44, 42, 40, \dots ?

Choose one option
View worked solution

Answer: C

The given sequence is an Arithmetic Progression (AP):

44,42,40,…44, 42, 40, \dots

Here, the first term is a=44a = 44 and the common difference is d=42−44=−2d = 42 - 44 = -2.

To obtain the maximum sum, we must sum all the positive terms of the sequence. Adding any negative term would decrease the total sum. (Adding 00 does not change the sum).

Let the nn-th term be the last positive term (an>0a_n > 0):

a+(n−1)d>0a + (n-1)d > 0

44+(n−1)(−2)>044 + (n-1)(-2) > 0

44−2n+2>044 - 2n + 2 > 0

46>2n  ⟹  n<2346 > 2n \implies n < 23

Since nn must be an integer, the number of positive terms is n=22n = 22.

The 22nd22^{\text{nd}} term is:

a22=44+(22−1)(−2)=2a_{22} = 44 + (22-1)(-2) = 2

The sum of these 2222 terms is given by the formula:

Sn=n2(a+an)S_n = \frac{n}{2} (a + a_n)

S22=222(44+2)S_{22} = \frac{22}{2} (44 + 2)

S22=11×46=506S_{22} = 11 \times 46 = 506

Therefore, the maximum sum of the sequence is 506.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore General Aptitude questions