A Google Cloud employee set a new record calculating the 100 trillionth digit of pi

A Google employee has given us greater insights into the mathematical mystery that is pi (also known to many of us as 3.14). Using the company’s cloud computing services, Google Cloud developer advocate Emma Haruka Iwao was able to calculate the first 100 trillion digits of the mathematical constant, making her the first person ever to know the 100 trillionth digit (it’s a zero). Google is now working with Guinness World Records to officially verify her accomplishment. It’s the second time Iwao has set such a milestone—she calculated 31.4 trillion digits in 2019, the record at the time—though she’s been interested in the number for much of her life. “Pi has been my personal passion since my childhood,” she says, recalling using a program called Super PI as a preteen to calculate roughly a million digits of the number.

Pi, which is the ratio of any circle’s circumference to its diameter, can’t be expressed precisely as a fraction or decimal, so it’s possible to calculate an arbitrary number of decimal digits of its representation. Calculating ever-longer sequences of pi has long been a challenge for amateur and professional mathematicians and computer scientists. Iwao says the dramatic leap forward since 2019 comes as a result of increased capabilities in Google’s Compute Engine service, including speedier processors, faster data storage, and increased network capabilities to sync the hardware doing the computation. “That kind of progress I hope makes people excited about Cloud and sort of encourages them to use Cloud for their own programs,” Iwao says. Google is also releasing a demo that anyone can use to calculate a smaller number of digits of pi on its cloud systems; the code used to do the computing is available on GitHub.

Google isn’t disclosing the cost of the computation, which took 157 days to run across 128 virtual processors using 864 gigabytes of memory. In total, the program crunched through 82,000 terabytes of data, which Google says is the same amount of storage as 2,598 years’ worth of HD movies. Iwao did the calculation using a freely available program called y-cruncher and worked with its creator, Alexander J. Yee, to verify that the result is correct. To ensure the number is, indeed, correct, Iwao also used an algorithm that makes it possible to generate specific digits of pi without knowing all the previous ones, letting her verify that some of the final digits are correct, which implies the previous ones almost certainly are. She also compared the initial digits to those found by others’ previous calculations. The exact digits Iwao computed will also be available—on the cloud, naturally—so that anyone can download all 100 trillion digits or use an application programming interface to access specific digits. While scientists and engineers don’t typically need 100 trillion digits of pi for precise calculations, Iwao says people are interested in the distribution of different digits in the number. Iwao hopes that the project will also make people aware of cloud computing’s power for scientific computation in general. And she imagines that as the technology continues to improve, it won’t be the last time she pushes pi computation forward—perhaps by a significant amount. “Technically, even if you can add one digit, it’s a new world record,” Iwao says. “I think this is more [interesting] when we can show significant progress.”

https://www.fastcompany.com/90758850/a-google-cloud-employee-set-a-new-record-calculating-the-100-trillionth-digit-of-pi?partner=rss&utm_source=rss&utm_medium=feed&utm_campaign=rss+fastcompany&utm_content=rss

Établi 3y | 8 juin 2022, 15:22:32


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Going ‘AI-first’ appears to be backfiring on Klarna and Duolingo

Artificial intelligence might be the future of the workplace, but companies that are trying to get a head start on that future are running into all sorts of problems.

Klarna and Duloingo

12 mai 2025, 20:20:01 | Fast company - tech
Lyft CEO David Risher on competing with Uber and the future of rideshare

The rideshare market has reached a crossroads. Autonomous vehicles are on the rise, driver unrest is mounting, and customers are questioning everything from pricing to trust and safety. In the mid

12 mai 2025, 17:50:04 | Fast company - tech
Tech billionaires’ plan for a new California city may bypass voter approval

A group backed by tech billionaires spent years and $800 million secretly buying up over 60,

12 mai 2025, 13:20:04 | Fast company - tech
Snapchat’s Snap Map reaches 400 million users

Move aside, Google Maps: Snapchat’s Snap Map has hit a major milestone with 400 million monthly active users.

Launched in 2017, Snap Map began as a GPS-based feature that allowed users t

12 mai 2025, 13:20:03 | Fast company - tech
How Yahoo built AI-driven content discovery into its revamped news app

In April 2024, Yahoo acquired Artifact, a tool that uses AI to recommend news to readers. Yahoo folded Artifact’s—which was cofounded by Instagram cofounders Mike Krieger and Kevin Systrom—into it

12 mai 2025, 10:50:05 | Fast company - tech
How AI is changing your doctors appointments

It is hard to believe that in 2025, we are still dialing to schedule doctor appointments, get referrals, refill prescriptions, confirm office hours and addresses, and handle many other healthcare

12 mai 2025, 10:50:04 | Fast company - tech