ComputedGallery

Preparing

Roll 2026-1116:9

20 Rows of Pegs, 1,048,576 Paths in One Triangle

Watch on YouTube

About this piece

One ball, one peg. It can go left or right, so I let it go both ways.

Then another row of pegs, and another. By row 20 there are 1,048,576 different ways down.

I counted how many paths go through each peg and the numbers made a triangle. I colored every path by how often it turned right, cut a square and a couple of cubes into blocks, leaned the board, and dropped 256,000 real balls to see if they'd agree. Then the triangle turned into a town with a house and a school, and I started closing roads.

A million ways down, and most of them end up near the middle. Nobody told them to.

Chapters

The web version of this piece is not ready yet. Until then, the video plays here.

Next to it on the sheet

  1. ▸ 79yTkhV6SzBc English Has 26 Letters. Why Does Filipino Have 28?
  2. ▸ 6Csn-DZna6jk Urdu Took 28 Letters From Arabic. Where Did the Other 11 Come From?
  3. ▸ 5vuVwb_Q0vwI A Smiley Became Static in 500 Steps. I Ran Time Backwards.
  4. ▸ 4OxugqavosOM 20 Rows of Pegs, 1,048,576 Paths in One Triangle
  5. ▸ 33qCLB19rFkE 1 Ball Squashed Until It Bursts Into 4,096 🌈
  6. ▸ 2ssZkEhQtpBE One Atom Keeps Doubling Next to an Ant. How Many Times to Pass the Sun?
  7. ▸ 1bX_TIKD35s4 7 Most Satisfying Simulations (Every Bounce Doubles Gravity) 🌈

Language

Share