A number can be thought of as a shape with a certain area, or volume — and the way it factors is the way it can be laid out. A prime can only be laid as a single line: one row, no rectangle, nothing to hide. A product of two primes lays out as a rectangle, two sides; a product of three lays out as a box, three sides. Climb that ladder of dimensions and a curious thing happens to secrecy. It does not grow with the dimensions. It peaks in the middle — at two — and then it falls. The strongest lock is not the richest shape. It is the rectangle.
IThe ladder of dimensions
Lay the shapes out by how many primes built them, and the pattern is plain. One prime: a line, the trivial factorization every number shares, hiding nothing. Two primes: a rectangle, whose two sides are concealed in its area — to find them is to factor, and that is the wall. Three primes: a box, whose three edges are concealed in its volume — richer, with more structure, and yet easier to take apart.
The fall from two to three is the surprising part, and the reason is simple once seen. For a number of a given size, splitting it into more factors means each factor is smaller. And smaller factors are easier to find — the methods that search for a factor reach a small one quickly. A box of three primes hands an attacker more places to grab, and each grip is closer to hand. The rectangle, with only two factors and no smaller one to seize, gives nothing away early. More dimensions dilute; two concentrate.
Strength is not richness. A box holds more structure than a rectangle and guards it worse, because its factors are smaller and a small factor is a door.
IIA clock of triangles
Here is a way to watch the ladder move. Imagine a clock that does not tick along a line but draws a figure each beat. Give it two hands, one climbing the primes along the base, one climbing the primes along the height; each tick lays down a triangle whose two edges are primes, and the half-base-times-height flattens it to an area. That area is half a semiprime — and to recover which base and which height made it is, once again, to factor. The clock ticks out a stream of little walls.
Run the two hands at the same rate and the triangles stay near-balanced — base and height close in size, the strong case, a near-square area that gives no small factor away. Run one hand faster and the triangle skews into a long thin sliver: one prime races ahead, the other lags small, and the small one is the door. The ratio of the two rates is a dial straight onto the strength — balanced and hard at one extreme, lopsided and easy at the other. It is the spread between the two factors, made into a knob.
Now add a third hand — a height in depth, a third prime climbing — and the triangle becomes a box. The flattened volume is a product of three primes, and the wall, just as the ladder warned, gets weaker. But the same control reverses it: freeze the third hand, and the box truncates back toward a slab; freeze it all the way down, and the box collapses to the triangle, the volume back to two factors, the wall strong again. The strength was in flattening the third dimension away — in refusing the box and keeping the rectangle.
Freeze the third dimension to nothing and the box falls back to the triangle. The lock is strongest where the shape is flattest — two primes, concentrated, with no third edge to dilute them.
IIIConcentration, not spread
This is why real keys are built the way they are. A working modulus is a product of two primes, both large, both near the same size — not three, not many, and not one large and one small. Two, because one keeps no secret and three keeps a poorer one. The same size, because a balanced rectangle hands over no small factor; lean it into a sliver and the short side gives it away. The whole craft of choosing a key is the craft of landing on the strong rung and staying balanced on it.
So the lesson the ladder teaches, and the clock of triangles shows in motion, is a single quiet rule about where strength lives: not in how much structure you pile up, but in how tightly you concentrate it. Spread a secret across many factors and you have only made many small doors. Press it into two large ones, balanced and equal, and you have the rectangle — the one shape on the ladder that gives nothing away early and nothing away balanced. The wall lives at two, because two is where the secret is concentrated and not yet diluted. Below it there is no secret; above it the secret leaks. The rectangle is the knife's edge between, and that is exactly where the lock is built.
A note, in the spirit of this site: the rungs of this ladder are a way to see a fact about ordinary integer factorization — that two roughly equal prime factors are harder to recover than one, three, or an unbalanced pair — which is why real RSA moduli are two large balanced primes. The triangle clock is an illustration of that fact, not a new scheme; its ticks are ordinary semiprimes and inherit the ordinary wall. And as elsewhere here, that wall is trusted because it has withstood sustained attack, not because anyone has proved no shortcut exists — which is why the move toward quantum-resistant locks is already underway.