SECTION 28 / 48
Independent Paths in is_prime()
The lecture’s independent paths are {1, 2, 3} for 0 or 1; {1, 2, 4, 7} for 2; {1, 2, 4, 5, 6} for the non-prime 4; and {1, 2, 4, 5, 4, 7} for the prime 3.
The lecture’s independent paths are {1, 2, 3} for 0 or 1; {1, 2, 4, 7} for 2; {1, 2, 4, 5, 6} for the non-prime 4; and {1, 2, 4, 5, 4, 7} for the prime 3.