Q28:
For any positive integer n, the sum of the first n positive integers equals [n(n+1)]/2. What is the sum of all the even integers between 99 and 301?
A. 10,100
B. 20,200
C. 22,650
D. 40,200
E. 45,150
答案是B,我用前301的和减去前99的和除以2,但是不对,哪错了呢??谢谢各位
99-301之间的偶数其实就是100-300共101个,是公差为2的等差数列。
利用等差数列和的公式S=na1+n(n-1)d/2=101*100+101*100*2/2=20200
如果用题目中给的公式要先算1-301之间的偶数和,再减去1-98之间的偶数和,反而比较麻烦
欢迎光临 国际顶尖MBA申请交流平台--TOPWAY MBA (http://forum.topway.org/) | Powered by Discuz! 7.2 |