Engine
Jump Roll
Each layer: every ring works out its landing spot from the layer's first number, one multiply-and-wrap. Any layer, in any order.
Roll on to the next layers ↓
Go to
Layer 20
Layer 1,000
Layer 1,000,000
Near 10¹⁵
The old edge
Past it (rolling)
Key
prime: no ring landed
composite, shaded by the smallest ring that landed on it
ring 2 biggest deciding ring
Zoomed out, a pixel holds many ticks: it shades toward gold by how prime-rich they are against chance.
Jump works out each ring's landing spot from the layer's
starting number, so it stops at layer about 134 million (numbers up to
9·10¹⁵, where browser arithmetic stays exact).
Roll never forms the numbers. Each ring keeps two pointers,
where it lands and how far it slides next, and both step by one
add-and-wrap per layer. The pointers are dropped in once, where you
start; after that it's pure geometry. Its wall is the ring list instead:
every prime up to about m/√2 has to be held. Here that's capped at
rings up to 200 million (11 million rings), which is layer about 282
million.
The wall's true name. Holding every prime up to √N is
not an engineering limit of this engine — it is the price of an exact
certificate. Any deterministic method that proves N prime must exclude
every prime up to √N; that is the information the certificate contains.
The doors past it are not optimizations: probabilistic certificates
(Miller–Rabin — no ring list at all, a tiny chance of lying) and
structure (decoding the stagger field into something compressed — the
standing open problem). Different mechanisms, not a bigger browser tab.
Where the real speedup lives. Skipping layers can't
help: a ring's two pointers must each step once per layer no matter what,
and locating a ring's next hit on a far window is a quadratic congruence
that costs more than the layers it saves. But every ring's state machine
is independent, and every register stays under 32 bits — one ring per GPU
lane, two uint32s of state each, layers as sequential ticks. That is
where Roll stops being a browser trick and becomes the stagger field's
native hardware. (Stated as a direction, not built.)
It factors everything it draws: the rings that land on a tick
are its prime factors. It can't factor one giant number on its own,
because that would need every prime up to the number's square root as a
ring.