πKNOWS Blog Relax Sign in

How long does your birthday live in π?

Type your birthday: the digits around it in π come alive by Conway's Game of Life. How long will they live, and which digit wins?

0generations

Loading the digits of π…

  • With 2 or 3 neighbors a dot lives on
  • An empty spot with exactly 3 gets a new dot, in the color most of the three have
  • Any other dot dies, alone or crowded

How the game works

Every digit of π is written as four dots, its four bits: 8 and 4 on top, 2 and 1 below. A 7 is 0111, so three of its four dots are alive, and a 0 has none. The 24 by 24 digits around your birthday's first place in π, as the map of π lays them out, make a field of 48 by 48 dots. The field wraps around: a dot on the right edge has neighbors on the left.

Then the three rules of Conway's Game of Life play, one generation after another. Sooner or later the field falls back into a pattern it has had before, and from then on it only repeats. The generation where that happens is your birthday's lifespan. The same date always gives the same game, so you can compare with friends.

Each dot starts in the color of its digit, as in the map's Colors view. A new dot takes the color most of its three parents have, so the digits spread and fight for land. A digit's land is where its dots were born last, and at the end the digit with the most land wins.

The date is searched as you type it: 03/14/2015 and 14/03/2015 are different digits in different places of π, so they give different games. Read more in Your birthday in Conway's Game of Life, or find your birthday on the map of π.