{"id":"divisible-pairs-value-check-short-circuits-modulo","text":"Python's `and` short-circuits, so the `(i * j) % k == 0` modulo is only evaluated when `nums[i] == nums[j]` — the cheaper equality check gates the arithmetic.","truth_value":"IN","source":"entries/2026/06/06/count-equal-and-divisible-pairs-in-an-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"divisible-pairs-value-check-short-circuits-modulo","truth_value":"IN","reason":"premise"}]}}