#42832: 數學


s112321011@mail1.ncnu.edu.tw (Bronze)

學校 : 國立暨南國際大學
編號 : 287383
來源 : [163.22.18.55]
最後登入時間 :
2024-10-12 15:52:05
c022. 10783 - Odd Sum -- UVa10783 | From: [163.22.18.55] | 發表日期 : 2024-10-07 13:12

1+3+5+...+(2n-1) = sum^{n}_{i=1} (2n-1) = 2n(1+n)/2 - n = n^2 + n - n = n^2

ex: 1 + 3 + 5 + 7 + 9

9 = (2n-1) , n = 5

1 + 3 + 5 + 7 + 9 = 5^2 = 25

 
ZeroJudge Forum