The Radio Station Alert
An incoming SIGNAL and an active MIC trigger the ALERT only if they are both active or if the MIC is currently silent. The ALERT must signal when the setup is in a specific state.
Replay this puzzle All puzzles
The truth table
Inputs on the left, the output on the right. A circuit solves the puzzle when it reproduces every row.
| SIGNAL | MIC | ALERT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
What the table tells you
- ALERT is 1 in 3 of the 4 rows, so it is easier to think about the one row where it is 0. Every input matters: for each one there is a row where flipping it changes ALERT.
The smallest known circuit: 2 gates
As a formula, one line per output:
ALERT = ((SIGNAL AND MIC) OR NOT MIC)
As a netlist, in the order you would wire it. Each g is one gate; the last line says which signal drives the output.
g1 = NOT MICg2 = SIGNAL OR g1ALERT = g2
The search checked every circuit with fewer gates and none matches the table, so 2 is the true minimum for the allowed gate set. Gates that do not feed an output are never counted.
Leaderboard for the day
Nobody posted a result on the day. The circuit above is the reference.
← #20 The Bank Vault Lockdown · #22 Greenhouse Humidity Control →