While I’ve been busy thinking about which flavor of pie I’m going to enjoy later today, Googler Emma Haruka Iwao has been busy using Google Compute Engine, powered by Google Cloud, to calculate the most accurate value of pi—ever. That’s 31,415,926,535,897 digits, to be exact. Emma used the power of the cloud for the task, making this the first time the cloud has been used for a pi calculation of this magnitude.

Here’s Emma’s recipe for what started out as a pie-in-the-sky idea to break a Guinness World Records title:

Step 1: Find inspiration for your calculation.

When Emma was 12 years old, she became fascinated with pi. ...

Step 2: Combine your ingredients.

To calculate pi, Emma used an application called y-cruncher on 25 Google Cloud virtual machines. ...

Step 3: Bake for four months.

Emma’s calculation took the virtual machines about 121 days to complete. ...

Step 4: Share a slice of your achievement.

Emma thinks there are a lot of mathematical problems out there to solve, and we’re just at the beginning of exploring how cloud computing can play a role. ...