"gsgs" <email@example.com> wrote in message news:firstname.lastname@example.org... > the problem is the sum. > The routine runs through 0..k every time it is called ! > OK, I could rearrange the data now and store the values > for each n and r in a table  > > that helps, but is a bit tedious
I made you a server for this calculation. If you like, I will email a copy of the binary and source to you. It calculates with no loss of precision for k,r,n,w up to 1000 each. The answers are sometimes over 300 digits.