引用:
原帖由 andrew 于 2007-4-3 10:29 PM 发表
我的方法是先算 X(a, n)=E^(a)+E^(2a)+...+E^(n a)
有 close form的
然後把答案對a微分2次,再 take limit a->0 (這步最煩)
基本上任何次方都可以算出來
但前題是要用 mathematica take limit....
So X(a,n)=[Exp(a)-Exp((n+1)a)]/[Exp(a)-1]
I suggest you Taylor expand this to series of powers of a
then the coefficient of a^2 is just 1^2+2^2+...+n^2
of course coefficient of a^3 is 1^3+2^3+3^3+...+n^3
and so on..........