# Pi Digit, Pi Patterns, and Pi Day Anthem

Painting by Renée Othot for Simon Plouffe’s birthday.

Welcome to this week’s Math Munch!

It’s here—the Pi Day of the Century happens on Saturday: 3-14-15!

How will you celebrate? You might check to see if there are any festivities happening in your area. There might be an event at a library, museum, school, or university near you.

(Here are some pi day events in NYC, Baltimore, San Francisco, Philadelphia, Houston, and Charlotte.)

John Conway at the pi recitation contest in Princeton.

There’s a huge celebration here in Princeton—in part because Pi Day is also Albert Einstein’s birthday, and Albert lived in Princeton for the last 22 years of his life. One event involves kids reciting digits of pi and and is hosted by John Conway and his son, a two-time winner of the contest. I’m looking forward to attending! But as has been noted, memorizing digits of pi isn’t the most mathematical of activities. As Evelyn Lamb relays,

I do feel compelled to point out that besides base 10 being an arbitrary way of representing pi, one of the reasons I’m not fond of digit reciting contests is that, to steal an analogy I read somewhere, memorizing digits of pi is to math as memorizing the order of letters in Robert Frost’s poems is to literature. It’s not an intellectually meaningful activity.

I haven’t memorized very many digits of pi, but I have memorized a digit of pi that no one else has. Ever. In the history of the world. Probably no one has ever even thought about this digit of pi.

And you can have your own secret digit, too—all thanks to Simon Plouffe‘s amazing formula.

Simon’s formula shows that pi can be calculated chunk by chunk in base 16 (or hexadecimal). A single digit of pi can be plucked out of the number without calculating the ones that come before it.

Wikipedia observes:

The discovery of this formula came as a surprise. For centuries it had been assumed that there was no way to compute the nth digit of π without calculating all of the preceding n − 1 digits.

Check out some of Simon’s math art!

Simon is a mathematician who was born in Quebec. In addition to his work on the digits of irrational numbers, he also helped Neil Sloane with his Encyclopedia of Integer Sequences, which soon online and became the OEIS (previously). Simon is currently a Trustee of the OEIS Foundation.

There is a wonderful article by Simon and his colleagues David Bailey, Jonathan Borwein, and Peter Borwein called The Quest for Pi. They describe the history of the computation of digits of pi, as well as a description of the discovery of their digit-plucking formula.

According to the Guinness Book of World Records, the most digits that someone has memorized and recited is 67,890. Unofficial records go up to 100,000 digit. So just to be safe, I’ve used an algorithm by Fabrice Bellard based on Simon’s formula to calculate the 314159th digit of pi. (Details here and here.) No one in the world has this digit of pi memorized except for me.

Ready to hear my secret digit of pi? Lean in and I’ll whisper it to you.

The 314159th digit of pi is…7. But let’s keep that just between you and me!

And just to be sure, I used this website to verify the 314159th digit. You can use the site to try to find any digit sequence in the first 200 million digits of pi.

Aziz & Peter’s patterns.

Next up: we met Aziz Inan in last week’s post. This week, in honor of Pi Day, check out some of the numerical coincidences Aziz has discovered in the early digits in pi. Aziz and his colleague Peter Osterberg wrote an article about their findings. By themselves, these observations are nifty little patterns. Maybe you’ll find some more of your own. (This kind of thing reminds me of the Strong Law of Small Numbers.) As Aziz and Peter note at the end of the article, perhaps the study of such little patterns will one day help to show that pi is a normal number.

And last up this week, to get your jam on as Saturday approaches, here’s the brand new Pi Day Anthem by the recently featured John Sims and the inimitable Vi Hart.

Bon appetit!

# Math Awareness Month, Hexapawn, and Plane Puzzles

Welcome to this week’s Math Munch!

April is Mathematics Awareness Month. So happy Mathematics Awareness Month! This year’s theme is “Mathematics, Magic, and Mystery”. It’s inspired by the fact that 2014 would have marked Martin Gardner’s 100th birthday.

A few of the mathy morsels that await you this month on mathaware.org!

Each day this month a new piece of magical or mysterious math will be revealed on the MAM site. The mathematical offering for today is a card trick that’s based on the Fibonacci numbers. Dipping into this site from time to time would be a great way for you to have a mathy month.

It is white’s turn to move. Who will win this Hexapawn game?

Speaking of Martin Gardner, I recently ran across a version of Hexapawn made in the programming language Scratch. Hexapawn is a chess mini-game involving—you guessed it—six pawns. Martin invented it and shared it in his Mathematical Games column in 1962. (Here’s the original column.) The object of the game is to get one of your pawns to the other side of the board or to “lock” the position so that your opponent cannot move. The pawns can move by stepping forward one square or capturing diagonally forward. Simple rules, but winning is trickier than you might think!

The program I found was created by a new Scratcher who goes by the handle “puttering”. On the site he explains:

I’m a dad. I was looking for a good way for my daughters to learn programming and I found Scratch. It turns out to be so much fun that I’ve made some projects myself, when I can get the computer…

puttering’s Scratch version of Conway’s Game of Life

Something that’s super cool about puttering’s Hexapawn game is that the program learns from its stratetgy errors and gradually becomes a stronger player as you play more! It’s well worth playing a bunch of games just to see this happen. puttering has other Scratch creations on his page, too—like a solver for the Eight Queens puzzle and a Secret Code Machine. Be sure to check those out, too!

Last up, our friend Nalini Joshi recently travelled to a meeting of the Australian Academy of Science, which led to a little number puzzle.

What unusual ways of describing a number! Trying to learn about these terms led me to an equally unusual calculator, hosted on the Math Celebrity website. The calculator will show you calculations about the factors of a numbers, as well as lots of categories that your number fits into. Derek Orr of Math Year-Round and I figured out that Nalini’s clues fit with multiple numbers, including 185, 191, and 205. So we needed more clues!

Can you find another number that fits Nalini’s clues? What do you think would be some good additional questions we could ask Nalini? Leave your thoughts in the comments!

A result from the Number Property Calculator

I hope this post helps you to kick off a great Mathematics Awareness Month. Bon appetit!

# Numenko, Turning Square, and Toilet Paper

Welcome to this week’s Math Munch!

Have you ever played Scrabble or Bananagrams? Can you imagine versions of these games that would use numbers instead of letters?

Meet Tom Lennett, who imagined them and then made them!

Tom playing Numenko with his grandkids.

Numemko is a crossnumber game. Players build up number sentences, like 4×3+8=20, that cross each other like in a crossword puzzle. There is both a board game version of Numenko (like Scrabble) and a bag game version (like Banagrams). Tom invented the board game years ago to help his daughter get over her fear of math. He more recently invented the bag game for his grandkids because they wanted a game to play where they didn’t have to wait their turn!

The Multichoice tile.

One important feature of Numenko is the Multichoice tile. Can you see how it can represent addition, subtraction, multiplication, division, or equality?

How would you like to have a Numenko set of your own? Well, guess what—Tom holds weekly Numenko puzzle competitions with prizes! You can see the current puzzle on this page, as well as the rules. Here’s the puzzle at the time of this post—the week of November 3, 2013.

Challenge: replace the Multichoice tiles to create a true number sentence.

I can assure you that it’s possible to win Tom’s competitions, because one of my students and I won Competition 3! I played my first games of Numenko today and really enjoyed them. I also tried making some Numenko puzzles of my own; see the sheet at the bottom of this post to see some of them.

Tom in 1972.

In emailing with Tom I’ve found that he’s had a really interesting life. He grew up in Scotland and left school before he turned 15. He’s been a football-stitcher, a barber, a soldier, a distribution manager, a paintball site operator, a horticulturist, a property developer, and more. And, of course, also a game developer!

Do you have a question you’d like to ask Tom? Send it in through the form below, and we’ll try to include it in our upcoming Q&A!

The level editor.

Say, do you like Bloxorz? I sure do—it’s one of my favorite games! So imagine my delight when I discovered that a fan of the game—who goes by the handle Jz Pan—created an extension of it where you can make your own levels. Awesome, right? It’s called Turning Square, and you can download it here.

(You’ll need to uncompress the file after downloading, then open TurningSquare.exe. This is a little more involved than what’s usual here on Math Munch, but I promise it’s worth it! Also, Turning Square has only been developed for PC. Sorry, Mac fans.)

But wait, there’s more! Turning Square also introduces new elements to Bloxorz, like slippery ice and pyramids you can trip over. It has a random level generator that can challenge you with different levels of difficulty. Finally, Turning Square includes a level solver—it can determine whether a level that you create is possible or not and how many steps it takes to complete.

Jz Pan is from China and is now a graduate student at the Chinese Academy of Sciences, majoring in mathematics and studying number theory. Jz Pan made Turning Square in high school, back in 2008.

Jz Pan has agreed to answer some of your questions! Use the form below to send us some.

If you make a level in Turning Square that you really like, email us the .box file and we can share it with everyone through our new Readers’ Gallery! Here is my level from above, if you want to try it out.

Jz Pan has also worked on an even more ambitious extension of Bloxorz called Turning Polyhedron. The goal is the same, but like the game Dublox, the shape that you maneuver around is different. Turning Polyhderon features several different shapes. Check out this video of it being played with a u-polyhedron!

And if you think that’s wild, check out this video with multiple moving blocks!

Last up this week, have you ever heard that it’s impossible to fold a piece of paper in half more than eight times? Or maybe it’s seven…? Either way, it’s a “fact” that seems to be common knowledge, and it sure seems like it’s true when you try to fold up a standard sheet of paper—or even a jumbo sheet of paper. The stack sure gets thick quickly!

Britney and her 11th fold.

Well, here’s a great story about a teenager who decided to debunk this “fact” with the help of some math and some VERY big rolls of toilet paper. Her name is Britney Gallivan. Back in 2001, when she was a junior in high school, Britney figured out a formula for how much paper she’d need in order to fold it in half twelve times. Then she got that amount of paper and actually did it!

Due to her work, Britney has a citation in MathWorld’s article on folding and even her own Wikipedia article. After high school, Britney went on to UC Berkeley where she majored in Environmental Science. I’m trying to get in touch with Britney for an interview—if you have a question for her, hold onto it, and I’ll keep you posted!

EDIT: I got in touch with Britney, and she’s going to do an interview!

A diagram that illustrates how Britney derived her equation.

The best place to read more about Britney’s story in this article at pomonahistorical.org—the historical website of Britney’s hometown. Britney’s story shows that even when everyone else says that something’s impossible, that doesn’t mean you can’t be the one to do it. Awesome.

I hope you enjoy trying some Numenko puzzles, tinkering with Turning Square, and reading about Britney’s toilet paper adventure.

Bon appetit!

PS Want to see a video of some toilet-paper folding? Check out the very first “family math” video by Mike Lawler and his kids.

Reflection Sheet – Numenko, Turning Square, and Toilet Paper

# Polyominoes, Clock Calculator, and Nine Bells

Welcome to this week’s Math Munch!

The first thing I have to share with you comes with a story. One day several years ago, I discovered these cool little shapes made of five squares. Maybe you’ve seen these guys before, but I’d never thought about how many different shapes I could make out of five squares. I was trying to decide if I had all the possible shapes made with five squares and what to call them, when along came Justin. He said, “Oh yeah, pentominoes. There’s so much stuff about those.”

Justin proceeded to show me that I wasn’t alone in discovering pentominoes – or any of their cousins, the polyominoes, made of any number of squares. I spent four happy years learning lots of things about polyominoes. Until one day… one of my students asked an unexpected question. Why squares? What if we used triangles? Or hexagons?

We drew what we called polyhexes (using hexagons) and polygles (using triangles). We were so excited about our discoveries! But were we alone in discovering them? I thought so, until…

A square made with all polyominoes up to heptominoes (seven), involving as many internal squares as possible.

… I found the Poly Pages. This is the polyform site to end all polyform sites. You’ll find information about all kinds of polyforms — whether it be a run-of-the-mill polyomino or an exotic polybolo — on this site. Want to know how many polyominoes have a perimeter of 14? You can find the answer here. Were you wondering if polyominoes made from half-squares are interesting? Read all about polyares.

I’m so excited to have found this site. Even though I have to share credit for my discovery with other people, now I can use my new knowledge to ask even more interesting questions.

Next up, check out this clock arithmetic calculator. This calculator does addition, subtraction, multiplication, and division, and even more exotic things like square roots, on a clock.

What does that mean? Well, a clock only uses the whole numbers 1 through 12. Saying “15 o’clock” doesn’t make a lot of sense (unless you use military time) – but you can figure out what time “15 o’clock” is by determining how much more 15 is than 12. 15 o’clock is 3 hours after 12 – so 15 o’clock is actually 3 o’clock. You can use a similar process to figure out the value of any positive or negative counting number on a 12 clock, or on a clock of any size. This process (called modular arithmetic) can get a bit time consuming (pun time!) – so, give this clock calculator a try!

Finally, here is some wonderful mathemusic by composer Tom Johnson. Tom writes music with underlying mathematics. In this piece (which is almost a dance as well as a piece of music), Tom explores the possible paths between nine bells, hung in a three-by-three square. I think this is an example of mathematical art at its best – it’s interesting both mathematically and artistically. Observe him traveling all of the different paths while listening to the way he uses rhythm and pauses between the phrases to shape the music. Enjoy!

Bon appetit!

# MoMA, Pop-Up Books, and A Game of Numbers

Welcome to this week’s Math Munch!

Thank you so much to everyone who participated in our Math Munch “share campaign” over the past two weeks. Over 200 shares were reported and we know that even more sharing happened “under the radar”. Thanks for being our partners in sharing great math experiences and curating the mathematical internet.

Of course, we know that the sharing will continue, even without a “campaign”. Thanks for that, too.

All right, time to share some math. On to the post!

To kick things off, you might like to check out our brand-new Q&A with Nalini Joshi. A choice quote from Nalini:

In contrast, doing math was entirely different. After trying it for a while, I realized that I could take my time, try alternative beginnings, do one step after another, and get to glimpse all kinds of possibilities along the way.

By Philippe Decrauzat.

I hope the math munches I share with you this week will help you to “glimpse all kinds of possibilities,” too!

Recently I went to the Museum of Modern Art (MoMA) in New York City. (Warning: don’t confuse MoMA with MoMath!) On display was an exhibit called Abstract Generation. You can view the pieces of art in the exhibit online.

As I browsed the galley, the sculptures by Tauba Auerbach particularly caught my eye. Here are two of the sculptures she had on display at MoMA:

Just looking at them, these sculptures are definitely cool. However, they become even cooler when you realize that they are pop-up sculptures! Can you see how the platforms that the sculptures sit on are actually the covers of a book? Neat!

Here’s a video that showcases all of Tauba’s pop-ups in their unfolding glory. Why do you think this series of sculptures is called [2,3]?

This idea of pop-up book math intrigued me, so I started searching around for some more examples. Below you’ll find a video that shows off some incredible geometric pop-ups in action. To see how you can make a pop-up sculpture of your own, check out this how-to video. Both of these videos were created by paper engineer Peter Dahmen.

Tauba Auerbach.

Tauba got me thinking about math and pop-up books, but there’s even more to see and enjoy on her website! Tauba’s art gives me new ways to connect with and reimagine familiar structures. Remember our post about the six dimensions of color? Tauba created a book that’s a color space atlas! The way that Tauba plays with words in these pieces reminds me both of the word art of Scott Kim and the word puzzles of Douglas Hofstadter. Some of Tauba’s ink-on-paper designs remind me of the work of Chloé Worthington. And Tauba’s piece Componants, Numbers gives me some new insight into Brandon Todd Wilson’s numbers project.

This piece by Tauba is a Math Munch fave!

For me, both math and art are all about playing with patterns, images, structures, and ideas. Maybe that’s why math and art make such a great combo—because they “play” well together!

Speaking of playing, I’d like to wrap up this week’s post by sharing a game about numbers I ran across recently. It’s called . . . A Game of Numbers! I really like how it combines the structure of arithmetic operations with the strategy of an escape game. A Game of Numbers was designed by a software developer named Joseph Michels for a “rapid” game competition called Ludum Dare. Here’s a Q&A Joseph did about the game.

A Game of Numbers.

If you enjoy A Game of Numbers, maybe you’ll leave Joseph a comment on his post about the game’s release or drop him an email. And if you enjoy A Game of Numbers, then you’d probably enjoy checking out some of the other games on our games page.

Bon appetit!

PS Tauba also created a musical instrument called an auerglass that requires two people to play. Whooooooa!

Reflection Sheet – MoMA, Pop-Up Books, and A Game of Numbers

Welcome to this week’s Math Munch!

Abraham Lincoln, figuring out a word problem.
Can you decipher his steps?

About a month ago I ran across an article about Abraham Lincoln and math. Lincoln is often celebrated as a self-made frontiersman who had little formal education. The article describes how two professors from Illinois State University recently discovered two new pages of math schoolwork done by Lincoln, which may show that he had somewhat more formal schooling than was previously believed. The sheet shows the young Abe figuring problems like, “If 4 men in 5 days eat 7 lb. of bread, how much will be sufficient for 16 men in 15 days?” Here are some further details about the manuscript’s discovery from the Illinois State University website and a high-quality scan of Lincoln’s figuring from the Harvard University Library.

Lincoln is also known for his study of Euclid’s Elements—that great work of mathematics from ancient times. Lincoln began to read the Elements when he was a young lawyer interested in what exactly it means to “prove” something. Euclid’s work even made a brief appearance in the recent movie about Lincoln. Thinking about Lincoln and math got me to wondering about how our presidents in general have interacted with the subject. Certainly they must all have had some kind of experience with math! In my searching and remembering, I’ve run across these tidbits about Ulysses S. Grant, James Garfield, and President Obama. Still, my searches haven’t turned up so very much. Maybe you’ll keep your eyes open for further bits of mathy presidential trivia?

Next up, check out these math problems about blinking on a wonderful online resource called Bedtime Math. Every day, the site posts a few math problems that parents and children can share and ponder at bedtime—just like families often do with storybooks. Bedtime Math was founded by Laura Bilodeau Overdeck. She is involved with several math-related nonprofits and is the mother of three kids. Bedtime Math grew out of the way that Laura shared math problems with her own children. A few of my favorite Bedtime Math posts are “You Otter Know” and “Booking Down the Hall“.

Today’s Bedtime Math is titled “Space Saver” and contains some problems about hexagon tilings and our mathematical chum, the honeybee. Here is today’s “big kid” problem: If a bee builds 5 hexagons flush in a horizontal row, how many total sides did the bee make, given the shared sides? I hope you find some problems to enjoy at Bedtime Math. You can sign up to receive their daily email of problems on the righthand side of the Bedtime Math frontpage.

Zome inventor Paul Hildebrandt and
a mathy PCMI Fourth of July float!

Did you know that people blink differently when they lie? I’ve been thinking a lot these past few weeks about frauds and fakes as I’ve worked with some teacher friends on this year’s PCMI problem sets. PCMI—the Park City Math Institute—is a math event held each summer that gathers math professors, math teachers, and college math students to do mathematics together for three weeks. It all happens in beautiful Park City, Utah. The first week of PCMI coincides with the Fourth of July, and the PCMI crew always makes a mathy entry in the local Independence Day Parade!

The theme of the high school teachers’ program this year is “Probability, Randomization, and Polynomials”. The first problem set introduces the following conundrum:

Suppose you were handed two lists of 120 coin ﬂips, one real and
one fake. Devise a test you could use to decide which was which.
Be as precise as possible.

Which is real? Which is fake?

If you understand what this problem is all about, then you can understand my recent fascination with frauds! Over to the left I’ve shared two sequences I concocted. One I made by actually flipping a coin, while the other I made up out of my head. Can you tell which is which?

For more sleuthing fun, check out this applet on Khan Academy, which challenges you to distinguish lists of coin flips. Some are created by a fair coin, others are made by an unfair coin, and still others are made by human guesses. This coin-flipping challenge is a part of Khan Academy’s Journey into Cryptography series. You should also know that the PCMI problem sets from previous years are all online, filed by years under “Class Notes”. They are rich with fantastic, brain-teasing problems that are woven together in expert fashion.

And finally, to go along with your Bedtime Math, how about a little bedtime poetry? Check out the video below.

Sweet dreams, and bon appetit!

# Prime Gaps, Mad Maths, and Castles

Welcome to this week’s Math Munch!

It has been a thrilling last month in the world of mathematics. Several new proofs about number patterns have been announced. Just to get a flavor for what it’s all about, here are some examples.

I can make 15 by adding together three prime numbers: 3+5+7. I can do this with 49, too: 7+11+31. Can all odd numbers be written as three prime numbers added together? The Weak Goldbach Conjecture says that they can, as long as they’re bigger than five. (video)

11 and 13 are primes that are only two apart. So are 107 and 109. Can we find infinitely many such prime pairs? That’s called the Twin Prime Conjecture. And if we can’t, are there infinitely many prime pairs that are at most, say, 100 apart? (video, with a song!)

 Harald Helfgott Yitang “Tom” Zhang

People have been wondering about these questions for hundreds of years. Last month, Harald Helfgott showed that the Weak Goldbach Conjecture is true! And Yitang “Tom” Zhang showed that there are infinitely many prime pairs that are at most 70,000,000 apart! You can find lots of details about these discoveries and links to even more in this roundup by Evelyn Lamb.

What’s been particularly fabulous about Tom’s result about gaps between primes is that other mathematicians have started to work together to make it even better. Tom originally showed that there are an infinite number of prime pairs that are at most 70,000,000 apart. Not nearly as cute as being just two apart—but as has been remarked, 70,000,000 is a lot closer to two than it is to infinity! That gap of 70,000,000 has slowly been getting smaller as mathematicians have made improvements to Tom’s argument. You can see the results of their efforts on the polymath project. As of this writing, they’ve got the gap size narrowed down to 12,006—you can track the decreasing values down the page in the H column. So there are infinitely many pairs of primes that are at most 12,006 apart! What amazing progress!

Two names that you’ll see in the list of contributors to the effort are Andrew Sutherland and Scott Morrison. Andrew is a computational number theorist at MIT and Scott has done research in knot theory and is at the Australian National University. They’ve improved arguments and sharpened figures to lower the prime gap value H. They’ve contributed by doing things like using a hybrid Schinzel/greedy (or “greedy-greedy”) sieve. Well, I know what a sieve is and what a greedy algorithm is, but believe me, this is very complicated stuff that’s way over my head. Even so, I love getting to watch the way that these mathematicians bounce ideas off each other, like on this thread.

 Andrew Sutherland Andrew. Click this! Scott Morrison

Andrew and Scott have agreed to answer some of your questions about their involvement in this research about prime gaps and their lives as mathematicians. I know I have some questions I’m curious about! You can submit your questions in the form below:

I can think of only two times in my life where I was so captivated by mathematics in the making as I am by this prime gaps adventure. Andrew Wiles’s proof of Fermat’s Last Theorem was on the fringe of my awareness when it came out in 1993—its twentieth anniversary of his proof just happened, in fact. The result still felt very new and exciting when I read Fermat’s Enigma a couple of years later. Grigori Perelman’s proof of the Poincare Conjecture made headlines just after I moved to New York City seven years ago. I still remember reading a big article about it in the New York Times, complete with a picture of a rabbit with a grid on it.

This work on prime gaps is even more exciting to me than those, I think. Maybe it’s partly because I have more mathematical experience now, but I think it’s mostly because lots of people are helping the story to unfold and we can watch it happen!

Next up, I ran across a great site the other week when I was researching the idea of a “cut and slide” process. The site is called Mad Maths and the page I landed on was all about beautiful dissections of simple shapes, like circles and squares. I’ve picked out one that I find especially charming to feature here, but you might enjoy seeing them all. The site also contains all kinds of neat puzzles and problems to try out. I’m always a fan of congruent pieces problems, and these paper-folding puzzles are really tricky and original. (Or maybe, origaminal!) You’ll might especially like them if you liked Folds.

Christian’s applet displaying the original four-room castle.

Finally, we previously posted about Matt Parker’s great video problem about a princess hiding in a castle. Well, Christian Perfect of The Aperiodical has created an applet that will allow you to explore this problem—plus, it’ll let you build and try out other castles for the princess to hide in. Super cool! Will I ever be able to find the princess in this crazy star castle I designed?!

My crazy star castle!

And as summer gets into full swing, the other kind of castle that’s on my mind is the sandcastle. Take a peek at these photos of geometric sandcastles by Calvin Seibert. What shapes can you find? Maybe Calvin’s creations will inspire your next beach creation!

Bon appetit!