Find all assignments of 1-9 that satisfy your constraints. All variables must be different.
Each line is its own constraint, and every line must be true at the same time for a solution to be valid.
== | equal to |
!= | not equal to |
> | greater than |
>= | greater than or equal to |
< | less than |
<= | less than or equal to |
a in [1, 2, 5] — a must be one of these valuesa not in [6, 8] — a must not be any of these valuesa > 3 and b < 5 — both conditions must holda == 1 or a == 9 — at least one condition must holda + b == c — combine variables and numbers with +, -, *, /