Is there any other way to solve following problem , other than explained in CAT explanation ?:
The sum of n consecutive positive integers is 45. What is the value of n?
(1) n is even
(2) n < 9
Explanation given :
The possible values of n should be computed right away, to rephrase and simplify the question. Note that n consecutive positive integers that sum to 45 have a mean of 45/n, which is also the median of the set; therefore, the set must be arranged around 45/n. Also, any set of consecutive integers must have either an integer mean (if the number of integers is odd) or a mean that is an integer + 1/2 (if the number of integers is even). So, if we compute 45/n and see that it is neither an integer nor an integer +1/2, then we can eliminate this possibility right away.
Setting up a table that tracks not only the value of n but also the value of 45/n is useful.
n 45/n n positive consecutive integers summing to 45
1 45 45
2 22.5 22, 23
3 15 14, 15, 16
4 11.25 none
5 9 7, 8, 9, 10, 11
6 7.5 5, 6, 7, 8, 9, 10
7 6 3/7 none
8 5 5/8 none
9 5 1, 2, 3, 4, 5, 6, 7, 8, 9
10 4.5 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 -- but this doesn't work, because not all are positive integers
... ... impossible (the set will include negative integers, if an integer set can be found at all)
(1) INSUFFICIENT: If n is even, n could be either 2 or 6. Statement (1) is NOT sufficient.
Alternatively, to find these values algebraically, you can use the following procedure.
The sum of two consecutive integers can be represented as n + (n + 1) = 2n + 1
The sum of three consecutive integers = n + (n + 1) + (n + 2) = 3n + 3
The sum of four consecutive integers = 4n + 6
The sum of five consecutive integers = 5n + 10
The sum of six consecutive integers = 6n + 15
Since the expressions 2n + 1 and 6n + 15 can both yield 45 for integer values of n, 45 can be the sum of two or six consecutive integers.
(2) INSUFFICIENT: If n < 9, n could again take on either of the values 2 or 6 (or 3 or 5 according to the table or the expressions above)
(1) and (2) INSUFFICIENT: if we combine the two statements, n must be even and less than 9, so n could still be either of the values: 2 or 6.
The correct answer is E.