{"id":"k-length-apart-gap-is-exclusive","text":"The gap expression `i - last - 1` in `kLengthApart` counts elements strictly between two 1-positions, not including the endpoints — so 1s at indices 2 and 5 yield a gap of 2.","truth_value":"IN","source":"entries/2026/06/06/check-if-all-1s-are-at-least-length-k-places-away-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"k-length-apart-gap-is-exclusive","truth_value":"IN","reason":"premise"}]}}