L-systems generate weevils, pizza toppings, and matriarchal lineages

Hacker News Top News

Summary

A playful blog post explores how the classic Fibonacci L-system can generate sequences of weevil names, pizza toppings, and matriarchal family names, noting that Claude refused the 'too stupid' premise so the author did it manually.

No content available
Original Article
View Cached Full Text

Cached at: 10/04/26, 05:35 PM

# L-systems generate weevils, pizza toppings, and matriarchal lineages Source: [https://blog.plover.com/2026/09/25/](https://blog.plover.com/2026/09/25/) [L\-systems generate weevils, pizza toppings, and matriarchal lineages](https://blog.plover.com/misc/fibonacci-word-2.html) The Fibonacci sequence is so\-called because in Western mathematics is first appears in connection with a problem from Fibonacci's 1202 book*Liber Abaci*\. Fibonacci asks us to consider a rabbit farm where a pair of baby rabits grows to adulthood in one month, and an adult pair of rabbits gives birth to a new pair of babies after a month\. Representing an adult pair with`a`and a baby pair with`b`, we could write this as: ``` b → a a → ab ``` Starting with one pair of baby rabbits, and performing the indicated substitutions month by month, we get: ``` b a ab aba abaab abaababa abaababaabaab abaababaabaababaababa abaababaabaababaababaabaababaabaab abaababaabaababaababaabaababaabaababaababaabaababaababa … ``` The total number of symbols \(and pairs of rabbits\) each month gives us the Fibonacci sequence, as does the total number of`a`s, or the total number of`b`s, in each line\. A structure like this one, in which there are symbols, in this case`a`and`b`, that are repeatedly replaced with strings of symbols, is called an “L\-system”, and this L\-system in particular is the “Fibonacci L\-system”\. [Yesterday I happened to mention*Zyzzyva*](https://blog.plover.com/math/ordinals/07-nested-shortlex.html), which is a genus of weevils that I can only assume was named by a biologist who wanted to be last in the dictionary\. When I see a pattern like this I instantly think of the Fibonacci L\-system\. We can use the Fibonacci L\-system to generate a sequence of increasingly long weevil names: ``` Yva Zva Zyva Zyzva Zyzzyva Zyzzyzyzva Zyzzyzyzzyzzyva Zyzzyzyzzyzzyzyzzyzyzva Zyzzyzyzzyzzyzyzzyzyzzyzzyzyzzyzzyva Zyzzyzyzzyzzyzyzzyzyzzyzzyzyzzyzzyzyzzyzyzzyzzyzyzzyzyzva ``` Or pizza toppings: ``` eroni proni peroni peproni pepperoni peppepeproni peppepeppepperoni peppepeppeppepeppepeproni peppepeppeppepeppepeppeppepeppepperoni peppepeppeppepeppepeppeppepeppeppepeppepeppeppepeppepeproni ``` Or family matriarchs: ``` Grandma Grandmam Grandmamma Grandmammamam Grandmammamammamma Grandmammamammammamammamam Grandmammamammammamammamammammamammamma Grandmammamammammamammamammammamammammamammamammammamammamam ``` I had to cheat a little here because there's an`a`in the middle that I didn't substitute\. If we don't skip that we get the unpronounceable “Grmammandmammamammamma”\. A quick computer search suggests several other variations, including both “mammaries” and “titties”, but to prevent this article from devolving into juvenile sniggering, I'm going to cut the scroll here\. Amazingly, there was[a previous article on a closely related topic](https://blog.plover.com/math/fibonacci-word.html)\. ![Street view of Philadelphia. In the center is a lamp post with two red and blue Interstate highway shields affixed, indicating that entrances to I-76 West and I-676 East are ahead.](https://pic.blog.plover.com/misc/fibonacci-word-2/76676.png) I tried to get Claude to help me with this article, but it said the premise was too stupid so I had to do it myself\. *\[[Other articles in category /misc](https://blog.plover.com/misc)\][permanent link](https://blog.plover.com/misc/fibonacci-word-2.html)*

Similar Articles

Adaptive Agentic Worms (8 minute read)

TLDR AI

Researchers have demonstrated adaptive computer worms powered by open-weight LLMs that can generate target-specific attacks and self-replicate, using stolen compute to evade conventional AI safeguards.

I built an autonomous civilization engine where the AI plays the game for you. You just drop a few LLM agents onto the grid and watch. They figure out how to farm, reproduce, build temples, and die of old age, inventing their own history entirely from scratch while you just sit back and observe.

Reddit r/singularity

A developer created a zero-player civilization game where LLM agents autonomously farm, reproduce, build, and wage wars, driven by Maslow's hierarchy of needs, with emergent religious conflicts and societal collapses.