If the sum of the first n postitive integers is S, what is the sum of the first n positive odd integers, in terms of S?
1+2+3...+n=S
1+3+5+...+2n-1=2S-n. 为什么要减掉 n 呢?
谢谢
有N个1需要减
1+2+3...+n=S
1+3+5+...+2n-1=2-1+4-1+6-1...2n-1=2+4+6+...+2n-1-1...-1=2(1+2+3...+n)-n*1=2S-n
欢迎光临 ChaseDream (https://forum.chasedream.com/) | Powered by Discuz! X3.3 |