{"id":"trial-division-pattern-reuse","text":"The strip-all-factors-then-check-residual pattern (used in `ugly-number`) recurs in `power-of-two`, `power-of-three`, `power-of-four`, and `three-divisors` solutions","truth_value":"IN","source":"entries/2026/06/06/ugly-number-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"trial-division-pattern-reuse","truth_value":"IN","reason":"premise"}]}}