Factoring Lab

Receipts for factoring ideas: which work, which don’t, and how fast they stop working.

A

The graveyard

Ideas that don’t work

Popular ideas for predicting primes or factoring numbers. Each one looks promising, and each gets a fixed test, a control and a receipt showing where it breaks.

A1 Live

Prime spirals and “new patterns”

Triangles, spirals, hexes and wheels all draw the same small-prime divisibility. Fake primes make the same pictures, and the pattern can’t find the secret prime in N = p × q.

Just divisibility
A2 Live

Last digits and digit patterns

Primes past 5 end in 1, 3, 7 or 9, so N, p and q have last-digit rules. It is pure remainder arithmetic, and it never narrows p down.

Just divisibility
A3 Live

Machine learning predicts p mod k

Train a model to guess p mod 3, 5 and 7 from N. It sits at chance for all three, while a planted leak is caught every time.

No leak
A4 Live

Searching near √N

Fermat’s method is instant when p and q are close together, and hopeless when they are random. Real keys keep them far apart.

Works only on weak keys
A5 Live

Predicting the next prime gap

Gaps look rhythmic, but their statistics match the Cramér and Hardy–Littlewood models. Totals are predictable; the next gap is not.

Real, already known
A6 Live

A neural network on N itself

A small neural net looks at the bits of N for a clue about p. With a hidden nonlinear clue planted it finds it at once; on honest keys it sits at chance.

No leak
A7 Live

Benford and the digits of p

Primes’ leading digits follow their own pattern, not Benford’s law. N’s first digit tells you p’s only through the known size of p.

No leak
A8 Live

Twin primes: clustering without location

Twin primes are over-represented exactly as Hardy–Littlewood predicts. Trying them first beats counting up, but so does any arbitrary subset of the same size, so twins are not the reason.

No leak
A9 Live

Magic sequences: Collatz, Fibonacci, digit sums

Famous number games measured against p mod 4. None beats shuffling, and a planted clue is always caught.

No leak
A10 Live

Quantum reality check

What has been factored on quantum hardware (15, 21, with caveats), what RSA-2048 would need on paper, and a short, sober look at post-quantum cryptography.

Real, not yet reachable