Cann Heuristic — Lattice Map

Lower line y = x/a Upper line y = N − x(b+1)/b Integer lattice point Crossing with both coordinates whole gcd(D, N) > 1 — a factor, on or off the lattice

Lattice Map — where each line hits a whole-number point

One row per line, one column per integer x in 0…N. Hover a dot for its coordinates.

Lattice Hits per Column

How many lines land on a whole-number point at each integer x. Gold bars are divisors of N; the tall bars are the highly 2-divisible columns.

Resonant Crossings — gcd(D, N) > 1

Every crossing has denominator D = (a+1)(b+1) − 1. When D shares a factor with N, that factor is N's — even when the crossing itself misses the lattice.

Crossings With Both Coordinates Whole

Blue×pink intersections that land exactly on the lattice.

Per-Line Breakdown

Every line, its lattice step, and the columns it touches.