Code
The highlighted line runs next. The pill shows the live values at that moment.
The highlighted line runs next. The pill shows the live values at that moment.
n = number of candidates. The highlighted row is the solution being traced.
Keyboard: ← → step, Space play or pause. Use up to 8 candidates from 1 to 50 (repeats are the point of this problem) and a target up to 30. Brute force checks every one of the 2ⁿ − 1 combinations, so try 8× speed for it.