March 14 is Pi Day — that’s pi, not pie — and today, Google marks the 30th anniversary of the math-inspired holiday with a special Doodle.

Pi, denoted by the Greek letter “π”, has been part of human knowledge for millennia, but it wasn’t until 1988 that physicist Larry Shaw organized what is now recognized as the first “Pi Day” celebration at the San Francisco Exploratorium science museum. Shaw chose March 14, or 3.14 — the first three digits of pi — as the holiday. Shaw died last year, but his brainchild is still celebrated by lovers of mathematics around the world.

Pi represents the ratio of a circle’s circumference to its diameter. It’s an important part of the foundation of mathematics, most importantly geometry, where it is key to equations calculating the area of a circle, A = πr2, and the volume of a cylinder, V = πr2h.

Various ancient civilizations calculated approximations of pi, including the Egyptians, Babylonians, and there’s even a reference to the dimensions of a circle in the Bible, but the first calculation of pi as 3.14 is attributed to Greek mathematician Archimedes, who lived in the third century B.C.. It was also independently determined by Chinese mathematician Zu Chongzhi (429–501), who computed pi to six decimal places. Mathematicians adopted the symbol π for the expression in the 18th century: Welsh mathematics teacher William Jones is often credited with the first use of the symbol in 1706.

Pi is a mathematical constant, meaning it isn’t changed by the size of the numbers it’s used to equate, and it is irrational, meaning it has an infinite number of digits that never repeat. The rise of computing technology has led to an arms race of sorts to calculate ever more digits of pi: the current record was set last year by Christian physicist Peter Trueb, calculated pi to 22.4 trillion digits — 22,459,157,718,361, to be exact — outpacing the previous record set in 2013 by 9 million digits.

But adding new digits is little more than a pastime for mathematics fanatics: NASA’s Jet Propulsion lab only uses 15 digits to calculate interplanetary travel, while mathematician James Grime argues that is enough to calculate the circumference of the known universe.

Pi Day was officially recognized by Congress in 2009, and it’s inspired quirky and pun-filled celebrations, including eating circular treats, from fruit pies to pizza, as well as dressing like Albert Einstein, whose birthday serendipitously falls on the math-imbued day. San Francisco’s Exploratorium also hosts an annual day of pi-inspired activities. The Massachusetts Institute of Technology releases its undergraduate admissions decisions on Pi Day, and starting in 2012, it began sending the verdicts at 6:28 pm, or “Tau time,” for the mathematical equation 2π. This year, NASA is inviting math whizzes to compete in its “Pi in the Sky” challenge to solve a series of interplanetary math problems.

Wednesday’s Doodle is based on a pi-inspired dish, salted caramel apple pie, courtesy of Cronut creator and pastry pioneer Dominique Ansel.