pub fn format_factors(n: u128) -> String
Format a factorization result as “NUMBER: FACTOR FACTOR …” matching GNU factor output. Writes directly to a buffer to avoid per-number String allocation.