Distributed calculation of $\pi$

1.2k Views Asked by At

I want to write a simple distributed software for the calculation of $\pi$. I want to use a formula which is as easy to distribute as possible. I'm thinking of the BBP formula, or something similar (a digit extraction algorithm), since I can distribute specific digits to the clients, and there is no need to perform a centralized summation in the server. Is there a better approach? The requirement is that I want to minimize the job that is needed to be done by the server, and, if possible, I would like not to need arbitrary precision arithmetic.