n個連續數之和係咪比n除到?

2008-07-18 10:50 pm
(n+1)+(n+2)+(n+3)=3m where m is an interger.呢個可以用mi prove到,
咁4個連續數之和係咪比4除到?
咁n個連續數之和係咪比n除到?


可以既話請prove(我只係中四)
it may be true for n is odd then it is true while for even n is not true but i dont know how to prove it

回答 (2)

2008-07-18 11:46 pm
✔ 最佳答案
It must be true when n is odd and it must be false when n is even.

You should know that 1+2+3+...+x=x(x+1)/2

Proof:
For any inerger a,
 (a+1)+(a+2)+(a+3)+...+(a+n)
= (a+a+a+...+a)+(1+2+3+...+n)
= an+n(n+1)/2
= n[a+(n+1)/2]

If n is odd, n+1 must be even, i.e. divisible by 2.
Hence (n+1)/2 must be an integer.
This implies that a+(n+1)/2 is also an integer.(Note that a is an integer)
So it must be true when n is odd.

However, when n is even, n+1 must be odd, i.e. not divisible by 2.
Hence (n+1)/2 can never be an integer.
This implies that a+(n+1)/2 is also NOT an integer.(Note that a is an integer)
So it must be false when n is even.
2008-07-18 11:46 pm
If n is odd, it is true, if n is even, it is not true. First of all, please understand the following result:
1 + 2 + 3 + 4 + 5 + .......+ m = m(m+1)/2. When divided by m, the answer is
[m(m+1)/2]/m = m(m+1)/2m = (m+1)/2. This is an integer if m is odd.
Now for
(n+1) + (n+2) + (n+3) + (n+4) + ...... to m number of terms.
= nm + 1 + 2 + 3 + 4 + 5 + .......+ m
= nm + m(m+1)/2. When divided by m
= n + (m+1)/2.
So if m is odd, n+(m+1)/2 is an integer, that is divisible by m.


收錄日期: 2021-04-13 15:49:58
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080718000051KK01399

檢視 Wayback Machine 備份