Gatesmith daily puzzle #2 · 17 October 2026

The Lighthouse Beacon

medium · 3 inputs, 1 output · allowed gates: NOT, AND, NAND · best known: 5 gates (not proved minimal)

To activate the BEACON, both FOG and WIND must be absent. However, if OIL is low, the BEACON will flicker even when conditions are clear.

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.

FOGWINDOILBEACON
0001
0010
0100
0110
1000
1010
1100
1110

What the table tells you

The smallest known circuit: 5 gates

As a formula, one line per output:

As a netlist, in the order you would wire it. Each g is one gate; the last line says which signal drives the output.

  1. g1 = NOT FOG
  2. g2 = NOT WIND
  3. g3 = NOT OIL
  4. g4 = g1 AND g2
  5. g5 = g4 AND g3
  6. BEACON = g5

The search ran out of budget before it could rule out every smaller circuit, so 5 is the best anyone found, not a proof. If you build it in fewer, the leaderboard records it. 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.

← #1 The Greenhouse Sprinkler · #3 The Vault Breaker →

How Gatesmith works · Learn logic gates · Today's puzzle