Posts Tagged ‘recursive’

Over the past few days my roommate and I have been working on a business card Menger sponge origami project. This was most recently inspired by Thomas Hull‘s fun book ‘Project Origami‘, but it’s quite possible I’d heard of the project before I found the book. I know that in Hull’s book he finds formulas for the number of cards it takes to make various iterations of the sponge, but I wanted to try to come up with them again on my own, and thought I’d share my process.

Let be the number of cards showing on each face of a level sponge (recalling that level 0 is just an ordinary cube). The exterior faces of the Menger sponge are Sierpinski carpets, and it’s pretty easy to determine that and . This means .

Next, let be the number of cards needed to make a completely unpanelled level sponge. So , and to make a level sponge requires 20 level sponges, so . This makes .

Now I’d like to determine the number of cards needed for what I’ll call ‘interior panelled’ sponges. Let denote the number of cards for such a level sponge. A level sponge consists of lots of little cubes, some of the faces of which are showing (not stuck against faces of other little cubes). Some of the showing faces occur on the very exterior of the sponge (on the faces of the encompassing cube, if you want). So ‘interior panelled’ would be all of the faces except these very exterior ones. There’s no such thing as an interior panelled level 0 sponge, so we start at level 1, counting as follows: Begin with an unpanelled level 1 sponge ( cards), and panel the two interior faces of each of the 12 ‘edge’ level 0 cubes. So .

What about the next iteration for ? Well, there are 20 ‘interior panelled’ sponges, and you need to panel 2 of the exterior faces of each of the 12 ‘edge’ cubes. The exterior faces, recall, require cards to panel. So . Since we know , we can clean this formula up a little: .

Now we’re almost done. The overall goal is to have a fully panelled level sponge. Let denote the number of cards required. Since a fully panelled level cube is an interior panelled level cube, along with exterior panelling, it’s easy to count. There are 6 exterior faces, each requiring cards to panel, so .

So we’re down to two formulas:

At this point, I checked Hull’s book, and noticed he had only one formula – one for . So how do we get rid of ?

Solve the second equation for , obtaining (and so also ). Now substitute these two formulas in their appropriate places in the formula above for . This gives

which we simplify to

obtaining the formula that Hull’s book has (hurray!).

Perhaps there’s something more than can be done to understand this formula though (and Hull does have remarks like this as well). I’d really like my recurrence formula for to have s showing up, instead of that in the power for 8. So write . How can we interpret this formula geometrically, in terms of the sponge? Well, we see that to make a panelled level sponge, we make 20 level sponges, and then remove some bits. In particular, we remove the panelling on faces of cubes that come together – that’s where the comes from, it is, after all , the number of panels on a face of an sponge. How many faces come together? Well, each of the 8 corner cubes (that lonely 8 in ) is 3-valent, meaning there are three ‘edges’ hitting that cube. At each of these 3 edges, we have two (, in ) panelled faces coming together, and we must remove all of that panelling.

So there you have it – a formula for the number of cards to build a level Menger sponge. If you’re interested in building one, start gathering up cards. While the level 0 sponge (a cube) requires only 12 cards, a level 1 sponge already requires 192 cards. The level 2 sponge, that my roommate and I built, took 3456 cards, and the next level would require a staggering 66,048 cards. I’m in no hurry to start making one of those.

About

Sumidiot (aka Nick Hamblet) got tired of the lack of math support on Blogger, and forked his blog there. Since then, new math content has shown up here, while teaching (and miscellany) have remained at the other site.