题目
If P is sequence of n positive integers,where Se denotes the sum of all even integers and So denotes the sum of all odd integers. What is the the value of |Se -So|?
(A) P is a sequence of n consecutive positive integers
(B) Number of terms in the sequence P is 8
选项
A.Statement (1) ALONE is sufficient, but statement (2) alone is not sufficient.
B.Statement (2) ALONE is sufficient, but statement (1) alone is not sufficient.
C.BOTH statements TOGETHER are sufficient, but NEITHER statement ALONE is sufficient.
D.EACH statement ALONE is sufficient.
E.Statements (1) and (2) TOGETHER are NOT sufficient.
解析
### (1)
$P$ 是由 $n$ 个正整数构成的数列,由条件(1)可知该数列为连续整数,但无法确定项数 $n$ 的奇偶性,也未知 $n$ 的具体取值,因此无法求解本题。
我们需明确 $n$ 的奇偶性,原因如下:
设首个奇数为 $O$,首个偶数为 $E$,则可将 $\vert S_E - S_O \vert$ 建模为如下形式:
$$\vert E-O\vert+\vert(E+1)-(O+1)\vert+\vert(E+2)-(O+2)\vert+\dots$$
易知连续的首个偶数与首个奇数的差值为 $1$,因此上式中每一项的计算结果均为 $1$。
由此可得结论:
若 $n$ 为偶数,则 $\vert S_E - S_O \vert = \frac{n}{2}$;
若 $n$ 为奇数,则 $\vert S_E - S_O \vert = \bigg\vert \frac{n-1}{2} \pm \text{最后一项数值} \bigg\vert$,因无法确定最后一项的数值,故无法计算。
由于本题要求求出 $\vert S_E - S_O \vert$ 的具体数值,因此还需确定 $n$ 的具体值。
**条件(1)单独不充分**。
### (2)
已知 $n=8$,但题目未告知数列中奇数和偶数的个数,**条件(2)单独不充分**。
### 联合条件(1)(2)
结合两个条件可直接推出 $\vert S_E - S_O \vert = \frac{n}{2} = \frac{8}{2}=4$,**联合条件充分**。