Tag: 公式

共 1 篇文章

整数求和公式

By 谷多 on | Work / Tech

1+2+3+...+N = N*(N+1)/2 http://www.geocities.com/nummolt/help/obbl/obblh01.html 1^2+2^2+3^2+...+N^2 = N*(N+1)*(2N+1)/6 = N^3 由于(n+1)^3=n^3+3…