作者SABC (SABC)
看板GMAT
標題[計量] 求 n 到 m 的正整數合
時間Mon Jun 7 07:23:10 2010
作到一題不是很瞭解,但似乎也沒有討論的題目,再麻煩大家協助解惑:
The sum of the first k positive integers is equal to . What is the sum of
the integers from n to m, inclusive, where 0 < n < m ?
答案是
m(m+1)/2 - n(n-1)/2
我是直接選 m 總和梯形公式 m(m+1)/2 減掉 n 總和的梯形公式 n(n+1)/2
不過答案 n 的部份變成 n(n
-1)/2,不知道這邊是如何得到的呢?
謝謝!
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.84.219.225
推 WAV:因為這樣你的n-m的"n"就沒算到了 所以答案才是正解 06/07 09:10
推 cowabunga216:你忽略第n項了~ 06/07 10:35