Walk x ← (x² + c) mod n. The tortoise (1 step) and hare (2 steps) chase around the ρ-shaped orbit; gcd(|x − y|, n) pops out a factor.
junior.md and professional.md for the proof.
n = 8051 (= 83 × 97) with c = 1 to watch the factor pop out in a few rounds,
or change c to see a different orbit. A real implementation uses an overflow-safe
mulmod (__int128 / Montgomery) and pairs rho with Miller-Rabin (sibling 08) to fully factor by
recursion. This demo keeps n small so products stay exact in double-precision integers.