09/16/2009, 04:18 PM
(09/16/2009, 09:05 AM)Ansus Wrote:Quote:If I use 32 (as the above is set to), it collapses to a truncated series with -1 in the highest-order coefficient and 1 in the lowest-order with all the rest zero.
This is surely something strange and does not depend on which formula do you use. You definitely should not get "all zeros".
Also note that \( B_n(0)=B_n \), i.e. Bernoulli number.
So what could be happening here? Have you actually tested the formula yourself before (with your own code) with iteration on polynomial approximations/truncated powerseries?

