What it costs to know

The count counts labels

One, two, six, sixteen, fifty, a hundred and forty-four: the oldest sequence in the subject counts foldings of a strip of numbered stamps. A folded strip of blank paper has no first stamp and no top side, and neither of those operations ever leaves a folding alone — so the count of objects is 1, 2, 5, 14, 38, 120, and it is not the count over four.

Assumes The oldest open problem and Where the exponent comes from.

In how many ways can a map be folded is the oldest open problem in this subject. The question needs no notation to state, the answers for a strip of stamps are 1, 2, 6, 16, 50, 144, 462, 1392, and after sixty years there is no formula — only a list of numbers, each found by searching every possibility.

Something has been true of every one of those numbers since the first of them was computed and is not usually said out loud: the stamps are numbered. The sequence counts foldings of a strip whose segments are distinguishable, and two arrangements that differ only in which end the counting started from are two entries in it.

A folded strip of blank paper has no first stamp. It also has no top side — a pile of paper turned over is the same pile. So there are two operations that leave the object alone and move the record of it, and the number of objects is the number of orbits.

Which is not the number of foldings over four, and finding out why is this essay.

The foldings of a strip, and how many objects they areThe published stamp-folding numbers count labelled foldings. The pale bar is that count and the dark one is the number of distinct folded objects once reading the strip from the other end and turning it over are taken as the same object.the pale bar is the published count, the dark one the objectsneither operation ever fixes a folding; doing both sometimes does, and that is why it is not a quarter2 stamps2 labelled · 1 objects · 2 fixed by doing both3 stamps6 labelled · 2 objects · 2 fixed by doing both4 stamps16 labelled · 5 objects · 4 fixed by doing both5 stamps50 labelled · 14 objects · 6 fixed by doing both6 stamps144 labelled · 38 objects · 8 fixed by doing both7 stamps462 labelled · 120 objects · 18 fixed by doing both8 stamps1392 labelled · 353 objects · 20 fixed by doing both
Fig. 1 The published stamp-folding numbers and the number of distinct folded objects they correspond to, once reading the strip from the other end and turning it over are taken as the same object.

The two operations

Reverse is a relabelling. Segment i becomes segment n−1−i: the strip is read from the other end, and every layer stays exactly where it is. Nothing about the pile changes; the record of it does.

Turn is a change to the pile that changes nothing observable. The layer at height h moves to height n−1−h, which is the pile upside down, and a pile of blank paper upside down is the same pile seen from underneath.

Both map legal foldings to legal foldings, and both are involutions, so together with their composition and the identity they form a group of four acting on the set of foldings.

The reason the group is exactly these two and not more is worth a sentence, because a reader might expect a third. There is no rotation to include: a folded strip lives in a line, its folded image is an interval, and the only isometries of an interval are the identity and the flip — which is reverse. And there is no relabelling of the layers to include, because the layers are the paper and the paper is what is being counted.

What each of the two operations leaves aloneReading a folded strip from the other end, turning it over, and doing both — and how many of the foldings each one carries to itself. The first two fix nothing at all, and the third is why the count of objects is not the count of foldings over four.a strip of 8 stamps: 1392 labelled foldings, 353 objectsthe bar is how many foldings the operation leaves exactly as it found themread from the other endfixes none of the 1392turned overfixes none of the 1392read from the other end and turned overfixes 20 of the 1392Burnside's lemma turns those three numbers into 353, which is what counting the orbits found
Fig. 2 Each of the two operations and their composition, and how many of the 1,392 foldings of an eight-stamp strip each one leaves exactly as it found it.

Neither of them ever fixes a folding

The first result is a pair of zeros and they hold everywhere the computation reaches.

No folding of a strip is fixed by reading it from the other end. Not at two stamps, not at eight, not at any size measured.

No folding is fixed by turning it over either.

The reverse case has a short reason. A folding fixed by reversal would have to be symmetric about the middle of the strip; the two end segments are the outermost pieces of paper at the two ends of the folded image, and in a folding fixed by reversal they would have to be at the same height as each other and at each other’s positions — which puts two pieces of paper in one place.

The turn case is shorter still. Turning the pile over exchanges the top layer with the bottom, and a folding fixed by it would need the top layer to be the bottom layer.

Neither argument is deep and neither had been made, because nobody had needed the fixed-point counts. What needed them is what comes next.

How many ways a map foldsThe number of distinct flat foldings of a ruled rectangle, on a logarithmic scale. The filled bars were counted by exhaustive search during this build; the open one is Lunnon's published value, past what a build can reach. There is no formula for any of them, and the next term is not known.1 × 4161 × 5501 × 61442 × 282 × 3604 × 4300,608filled — counted here, by exhaustive search over stacking ordersopen — Lunnon's published count, quoted rather than computed
Fig. 3 The counts themselves, computed rather than quoted. Everything in this essay is a quotient of these numbers, so they are recomputed here rather than taken from a table.

Doing both does fix some

The composition — read from the other end and turn over — is a different operation and it is not fixed-point-free.

At two stamps it fixes both foldings. At three it fixes two of six, at four it fixes four of sixteen, at five six of fifty, at six eight of 144, at seven eighteen of 462, and at eight twenty of 1,392.

A folding fixed by the composition is one that looks the same read backwards and upside down, which is a real and picturable thing: fold a strip so that it is centrally symmetric about the middle of the pile. Those exist, there are not many, and their number is what makes the arithmetic below come out where it does.

Every map anybody has countedThe number of ways a ruled rectangle folds flat. The filled rows were computed while this page was built and each agrees with Lunnon's published value; the hollow rows are the ones this machine will not finish in a build. The table stops where it stops because exhaustive search is the only method there is.mapflat foldingsand what it took2 × 284 cells, computed here2 × 3606 cells, computed here2 × 43208 cells, computed here3 × 31,3689 cells, computed here2 × 51,9800.6 s3 × 415,55254 s4 × 4300,608not reached herethe 1 × n case is the strip, and it is the only row of this table with a fast methodnobody has a formula for any entry, and nobody has proved there is none
Fig. 4 The counts for maps rather than strips, which is where the sequence is genuinely open. Everything in this essay is about the one-row case, where the counts are known and the group can be applied exactly.

Burnside’s lemma, and the check it supplies

The number of orbits of a group acting on a set is the average number of points each group element fixes. The identity fixes everything; reverse and turn fix nothing; the composition fixes what it fixes. So the number of objects is

(foldings + 0 + 0 + fixed by both) ÷ 4

At eight stamps that is (1392 + 20)/4 = 353. And 1392/4 is 348, so the twenty fixed points are worth five extra objects — which is the whole reason this is not a division.

The lemma is not being used as the method here. The orbits are counted directly, by putting every folding through all four operations and keeping the alphabetically smallest record of it. The lemma is used as the check, and the two agree at every size: 1, 2, 5, 14, 38, 120, 353.

Two routes to one number, one of them a canonicalisation and the other an average over a group, and they are not allowed to disagree. That is the site’s habit, and it is worth having here because a group action is exactly the sort of thing where an off-by-one in the orbit code produces a plausible sequence.

The foldings of a strip, and how many objects they areThe published stamp-folding numbers count labelled foldings. The pale bar is that count and the dark one is the number of distinct folded objects once reading the strip from the other end and turning it over are taken as the same object.the pale bar is the published count, the dark one the objectsneither operation ever fixes a folding; doing both sometimes does, and that is why it is not a quarter2 stamps2 labelled · 1 objects · 2 fixed by doing both3 stamps6 labelled · 2 objects · 2 fixed by doing both4 stamps16 labelled · 5 objects · 4 fixed by doing both5 stamps50 labelled · 14 objects · 6 fixed by doing both6 stamps144 labelled · 38 objects · 8 fixed by doing both7 stamps462 labelled · 120 objects · 18 fixed by doing both
Fig. 5 The same comparison one size shorter, which is the largest at which every folding can be listed and canonicalised in a moment. The agreement between the orbit count and Burnside’s average holds at every row.

What the object sequence is

Written out: 1, 2, 5, 14, 38, 120, 353 for two to eight stamps.

The first four are the Catalan numbers, which is a coincidence and stops being one at six — Catalan continues 42, 132, 429 and this sequence goes 38, 120, 353. Nobody should read anything into the agreement at the start; small counting sequences agree with the Catalan numbers all the time.

What can be said is the growth. The ratio of consecutive terms runs 2.0, 2.5, 2.8, 2.71, 3.16, 2.94 — which is the same shape as the ratio in the labelled sequence, climbing past three and still climbing where the computation stops. That is expected: quotienting by a group of fixed order changes a sequence by a bounded factor and cannot change its exponential growth rate.

So the object sequence has the same open problem attached to it. The growth constant nobody has proved exists for the labelled count is the same constant for the unlabelled one, and the four-fold division does not make the problem any easier.

Every map anybody has countedThe number of ways a ruled rectangle folds flat. The filled rows were computed while this page was built and each agrees with Lunnon's published value; the hollow rows are the ones this machine will not finish in a build. The table stops where it stops because exhaustive search is the only method there is.mapflat foldingsand what it took2 × 284 cells, computed here2 × 3606 cells, computed here2 × 43208 cells, computed here3 × 31,3689 cells, computed here2 × 51,9800.6 s3 × 415,55254 s4 × 4300,608not reached herethe 1 × n case is the strip, and it is the only row of this table with a fast methodnobody has a formula for any entry, and nobody has proved there is none
Fig. 6 The same counts computed at four shapes rather than quoted at one. The only structural handle anybody has on the sequence is the ratio between consecutive terms, and dividing every term by the size of a group leaves that ratio exactly where it was.

Why the fixed points are so few

Twenty of 1,392 is one and a half per cent, and the share falls with size: 100 per cent at two stamps, 33 at three, 25 at four, 12 at five, 5.6 at six, 3.9 at seven, 1.4 at eight. That is worth a paragraph because it is the reason the object count is nearly a quarter of the labelled one, and why nobody who did the division in their head would have noticed.

A folding fixed by the composition has to be centrally symmetric: the whole arrangement carried onto itself by reading it backwards and turning it over. That is a condition on the whole object rather than on any part of it, and the number of arrangements satisfying a whole-object condition falls off against the number of arrangements as the object grows — in this case fast enough that the quotient converges to a quarter from above.

So the error in dividing by four is 1.4 per cent at eight stamps and shrinking. It is not a large error and it is not the point. The point is that the correction exists, has a mechanism, and is computable — and that a sequence quoted as a count of objects for sixty years is a count of records.

What each of the two operations leaves aloneReading a folded strip from the other end, turning it over, and doing both — and how many of the foldings each one carries to itself. The first two fix nothing at all, and the third is why the count of objects is not the count of foldings over four.a strip of 6 stamps: 144 labelled foldings, 38 objectsthe bar is how many foldings the operation leaves exactly as it found themread from the other endfixes none of the 144turned overfixes none of the 144read from the other end and turned overfixes 8 of the 144Burnside's lemma turns those three numbers into 38, which is what counting the orbits found
Fig. 7 The fixed-point counts at six stamps rather than eight. The share of foldings fixed by the composition falls with size, which is why the object count converges towards a quarter of the labelled one without ever reaching it.

The fixed points have a pattern, and it splits by parity

The counts of foldings fixed by the composition are 2, 2, 4, 6, 8, 18 and 20 for strips of two to eight stamps, and they are quoted above only as inputs to a division. Read as a sequence in their own right they do something worth reporting.

Separate them by the length of the strip. The odd lengths give 2 at three stamps, 6 at five and 18 at seven — a factor of three for every two stamps added, exactly, on all three terms available. The even lengths give 2, 4, 8 and 20, which is a factor of two three times and then two and a half, and has no clean shape over four terms.

There is a reason to expect the two parities to differ rather than agree. A folding fixed by the composition is centrally symmetric — carried onto itself by reading it backwards and turning it over — and on an odd-length strip that symmetry has a middle segment, which must be carried to itself and therefore sits at the middle height of the pile. On an even-length strip there is no middle segment and the symmetry pairs every stamp with another. Those are different combinatorial problems, and there is no reason for their counts to lie on one curve.

So the odd sequence’s factor of three is a prediction: nine stamps should give fifty-four centrally symmetric foldings and eleven should give a hundred and sixty-two. Three terms are three terms and this is an observation rather than a result, but it is exactly the kind of observation the enumeration already written can settle — the foldings of a nine-stamp strip are already being counted for the labelled sequence, and testing this needs one extra tally.

Which would sharpen the object count

The value of settling it is not the fixed points themselves. It is that the object count is the labelled count plus the fixed points, all over four, so a formula for either of the two would carry across.

Nobody expects a formula for the labelled count — that is the sixty-year-old open problem. But the fixed-point count is a much smaller object: 20 against 1,392 at eight stamps, one and a half per cent of the population, and defined by a symmetry condition rather than by an enumeration. A sequence that small with a factor of three in it is the kind of thing that sometimes does have a closed form, and if the odd terms really are twice a power of three then half of the correction is settled outright.

That would not solve anything. It would mean the object sequence is the labelled sequence plus a known term over four — which is to say the two sequences are the same problem, with one of them differing from the other by something computable. That is a small and definite statement, it is checkable at one more size, and it is the only part of this whole area where a closed form looks plausible at all.

The same question about a marked strip

Everything above is a count over all markings: for each way of lettering the creases, every legal stacking, all thrown into one set. That is what the classical sequence counts, and it is the right set for the question “in how many ways does this strip fold”.

There is a second question underneath it and the group answers that one too. Fix a marking — say the four-segment strip lettered MMV — and ask how many objects it has. The two operations do not preserve a marking: turning a folding over swaps every mountain for every valley, so it carries a marking’s foldings to the reversed marking’s foldings, and reading from the other end reverses the letters’ order.

So within one marking the group is not acting at all; it acts on the union. Which means the per-marking counts this site has published — three stackings here, four there, seven at the eight-crease vertex — are counts of objects already, with no quotient to take, provided one is careful to say of that marking.

That distinction resolves something that looks like a contradiction. The whole-strip count needs a quotient and the per-marking count does not, because the operations that move the record of a folded strip also move which strip it is a folding of.

Which count is the right one

Both, and which one depends on what is being counted for.

The labelled count is right for a map. A map has printing on it, and a road atlas folded so that page one is on the outside is a different object from one folded so that page eight is. The problem’s name is map folding and its original motivation was maps, so the sequence in the literature is counting the thing it was asked about.

The object count is right for paper. A folder with a blank strip who produces two foldings related by reversal has produced one thing twice, and any statement about how many shapes a strip can take should be quotienting.

The distinction has bitten this site before in the other direction. The waterbomb tessellation’s thirty-two surviving repeating rules fold to one object — same panels, same places, same areas — and the thirty-two differ only in which side of the paper is showing. That was a count of labels on one object; this is a count of objects that had been reported as labels. A count that comes out at a power of two has a group underneath it, and so does one that comes out at four times something.

Five hundred and twelve rules, one objectThe repeating rules for a waterbomb tessellation, counted at each stage: every rule, the ones that pass the conditions on a small patch, the ones that pass on a patch containing every kind of vertex, and the number of distinct folded objects those produce. The last number is one.counting rules and counting objects are different measurementsrepeating rulesnine binary choices, one per crease of the repeating unit512pass on a small patchevery vertex of a two-by-two patch satisfies every condition56pass on a larger oneand on a patch that contains all four kinds of vertex32folded objectscounted by comparing the folded panels, not the letters1
Fig. 8 The earlier case: many markings, one folded object. This essay is the same distinction from the other side — many records of one object, reported as a count of objects.

Where the group does and does not apply

Two limits, and both are about the strip rather than about the group.

It is a one-dimensional statement. A genuine map has rows and columns, and its symmetry group is bigger — a rectangle has four symmetries of its own before anything is turned over. The orbit counts for two-dimensional maps would need that larger group and the computation is not done here, because the two-dimensional counts are what nobody can compute anyway.

And it says nothing about which foldings are reachable. A machine that folds every layer at once reaches every state an evenly creased strip has, so the reachability question and the counting question happen to agree on this object — but a quotient by a group is not a statement about how a folding is arrived at, and nothing here should be read as one.

What it costs to compute

The orbit count is not harder than the folding count and it is worth saying so, because a reader might expect the quotient to be the expensive part.

Every folding is already being enumerated to get the labelled number. Canonicalising one under a group of four is four permutations of an array and three string comparisons. So the object count is the labelled count plus a constant factor, and the constant is small enough that the two computations take the same time to the nearest second at eight stamps.

What is expensive is the enumeration itself, and it is expensive in the way this subject’s counting problems always are: the answer is exponentially larger than the question, so writing it down costs more than deciding anything about it. At nine stamps there are 4,536 foldings and at ten 14,616, and the wall this computation stops at is memory rather than patience.

That is also why the sequence is only taken to eight here. It could be taken further; nothing in the argument would change, and the two things that would be learnt — one more term of a sequence somebody has already computed further, and one more fixed-point count — are not worth the page.

What the states are, and why they are counted that way

One convention underlies every number above and it is worth stating because it is the one place a different choice would give a different sequence.

A folding is recorded as a state: for every pair of segments that actually lie over one another, which of them is higher. Two segments that never overlap are not stacked in any observable sense, and recording a total order over them would count bookkeeping as paper.

On an evenly creased strip the distinction is empty, because every segment lands on every other — which is exactly why the counts here reproduce the published sequence without adjustment, and why the convention could be adopted without disturbing anything. On an unevenly creased strip it is not empty at all, and any attempt to extend this essay’s group action to one would have to be careful about it.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

Every essay whose body links to this one.

The objects this essay names

Each one links to every other essay that touches it.

The counting problemLunnon's countsMap foldingStackingStamp foldingSymmetry