Chapter 1: The Trap

In 1994, a Russian Olympiad problem asked to tile a grid with dominoes…

February 28, 2026 · Eugene

Chapter 2: The Jagged Edge

The 3xM board destroys the simple Fibonacci illusion. To solve it, we must embrace…

February 28, 2026 · Eugene

Chapter 3: The Matrix Cheat Code

To tile a room with a billion columns, we have to abandon the standard ‘for’ loop. By mapping edge transitions into a Transfer Matrix, we unlock the cheat code of logarithmic time.

February 28, 2026 · Eugene

Chapter 4: The Berlekamp-Massey Heist

When a 6563x6563 transfer matrix threatens to melt our CPU, we abandon linear algebra entirely. By reverse-engineering the sequence, we pull off the ultimate algorithmic heist.

February 28, 2026 · Eugene

Chapter 5: The Kasteleyn Shock

When computer science fails to tile a 64x64 board, we must abandon the grid entirely. Enter graph theory, adjacency matrices, and a formula that looks like it belongs in quantum physics.

February 28, 2026 · Eugene

Chapter 6: The Anatomy of the Matrix

To understand Pieter Kasteleyn’s formula, we must dissect the adjacency matrix. We reveal how a 2D checkerboard is just two 1D strings crossing, and exactly how π and trigonometry enter the equation.

February 28, 2026 · Eugene

Chapter 7: The Floating-Point Trap

Kasteleyn’s formula is a mathematical masterpiece. But if you try to code it, you will immediately crash into the physical limitations of computer hardware. Plus, a detour into the thermodynamic limit.

February 28, 2026 · Eugene

Chapter 8: Banishing Floats

To calculate a massive trigonometric product without losing precision, we have to stop using numbers and start using algebra. Enter Roots of Unity, Cyclotomic Polynomials, and the limits of RAM.

February 28, 2026 · Eugene

Chapter 9: The Number Theory Cheat Code

When exact polynomials devour your RAM, you have to change the universe the math operates in. We introduce Finite Fields, 64-bit primes, and the ultimate hardware-sympathetic loop.

February 28, 2026 · Eugene

Chapter 10: Stitching the Multiverse

Our finite field engine is blazing fast, but it only gives us a tiny fragment of the answer. By using the Chinese Remainder Theorem and maxing out our CPU cores, we assemble the final, massive integer.

February 28, 2026 · Eugene