It works as follows:
Then ak converges quartically against 1/π; that is, each iteration approximately quadruples the number of correct digits.
See also
... is very challenging and rewarding, and once the player has gotten through a level there are bonuses to collect, record times to beat, and a gold star for gettin ...