What it’s all about

Every July 17, a small and cheerfully nerdy corner of the world celebrates National Yellow Pig Day, a holiday devoted to a single number: 17. There is no parade and no official mascot committee, just an affectionate in-joke that has quietly outlived the people who started it. The date is not arbitrary. It falls on the 17th day of the month, so the celebration literally is the number it honors.

If you have never heard of it, that is normal. This is a tradition that grew up in college math departments rather than in greeting-card aisles, and it spreads mostly by word of mouth from one curious person to the next. Today you get to be one of those people.

A little history

The story usually told is that Yellow Pig Day traces back to two mathematicians, David Kelly and Michael Spivak, who became fixated on the number 17 during their student days and, as a running joke, invented a matching mascot: the yellow pig, complete with an implausible number of toes and eyelashes. Kelly went on to run a well-known summer mathematics program, and the yellow pig became its unofficial emblem, celebrated each July 17 with cake and songs.

Some of the finer details have blurred into legend over the decades, which is part of the charm. What is reliably true is that 17 genuinely is a mathematically interesting number, and that generations of students have adopted the day as a warm, silly ritual.

The best holidays are the ones you can explain in one breath and enjoy without anyone’s permission.

Why 17 earns the attention

Seventeen is prime, meaning it divides evenly only by 1 and itself. It is also the sum of the first four primes: 2 + 3 + 5 + 7. And it holds a real place in the history of geometry. The mathematician Carl Friedrich Gauss showed that a regular 17-sided polygon can be constructed using only a compass and straightedge, a result so pleasing that it reportedly steered him toward mathematics for life. None of this makes 17 magic, but it does make it a satisfying number to admire for an afternoon.

How to make the most of it

You do not need a math degree to join in. Bake something yellow, ideally pig-adjacent. Notice how many 17s cross your path between breakfast and bedtime. Teach one person a single fact about the number, because a fact shared out loud tends to stick. And if you feel moved to invent a wobbly little song about primes, that is squarely within the spirit of the day.

Mostly, treat July 17 as permission to be delighted by something small. Yellow Pig Day asks almost nothing of you and offers a genuinely nice reminder: curiosity is its own reward, and a made-up celebration shared with friends beats a serious one enjoyed alone.

How to celebrate

  1. 1
    Hunt for 17s

    Spend the day noticing where 17 hides: a bus route, a jersey, a page number, the 17th minute past the hour. Keep a running tally in your notes app. It is a low-stakes way to feel how numbers are woven through an ordinary Thursday, and it turns a mundane commute into a small scavenger hunt.

  2. 2
    Learn one fact about 17

    Seventeen is prime, and it is the sum of the first four prime numbers (2 + 3 + 5 + 7). Gauss famously proved you can construct a regular 17-sided polygon with only a compass and straightedge. Pick one property, understand why it is true, and you will remember this day long after the cake is gone.

  3. 3
    Bake a pig cake

    Yellow Pig Day traditionally involves a cake, often pig-shaped or simply yellow. Bake a lemon or vanilla sheet cake, tint the frosting sunny yellow, and pipe a little snout and ears. Cut it into 17 pieces if your crowd is big enough, or just enjoy the excuse to frost something absurd.

  4. 4
    Sing the seventeen verses

    There is a well-worn tradition of "Yellow Pig carols" among math students, songs celebrating the number 17. You do not need the official versions: rewrite a familiar tune so every line loops back to 17. Sing it badly and on purpose. Shared silliness is the whole point of a made-up holiday.