from common import dot

n = 3
equations = [0b101, 0b011]  # les z obtenus
solutions = [s for s in range(1, 2**n) if all(dot(z, s) == 0 for z in equations)]
print("s ≠ 000 compatibles :", [format(s, "03b") for s in solutions])
