The United States flag has as many stars as the country has states. For a long while star arrangement was up to the flag-maker, with no specific rule in place. This is where the occasional weird and ugly 19th century flag comes from. But the arrangement has got codified. It’s to be stars in rows, or at least staggered rows.
It’s easy to understand how to arrange 48 stars, which the flag had for a while. Or 49 stars, which it had almost long enough to get a new flag made. 50 stars, which it’s had for longer than 48 now, are familiar from experience. But a natural question is how to arrange an arbitrary number of stars? And courtesy the MTBos Blogbog, linking to essays about mathematics, I don’t have to answer it myself.
Experience First Math reviewed the problem recently. You can find a pattern by playing around, of course. It’s not very efficient, but we don’t need new flags very often. We don’t need to save time on this.
And uniformly spacing stuff can be a hard problem. For example, no one knows what is the most uniform way to put thirteen spots on the surface of a sphere. We’re certain that we’re close, though.
This is a simpler problem. We have to fit stars in a rectangle. The stars have to be arranged in rows, or in staggered rows. Each row can’t be too much bigger or smaller than its neighbors. And with that, a little bit of factoring and geometric reasoning and counting produces a lovely result: how to generally arrange stars.
Well, almost generally. There are some numbers that don’t work with alternating rows. We’ve seen this before. There were some ugly compromises necessary to have a 44-star flag, in the 1890s, or the 36-star flag in 1865. But with this alternating-rows example, we’ve got a hint to working out other nearly-staggered and nearly-alternating row patterns.