Skip to content
Tactiverge

Olympiad · Practice · public practice problem

Signalling with lamps

Difficulty 2 of 57 points in 3 partsSuggested time ~12 min (never timed here)

The problem

A harbour tower signals to boats with a row of lamps. Each lamp is either on (1) or off (0), and every different on/off pattern can stand for a different message. The tower starts with 4 lamps.

  1. Part (a) · 2 points

    How many different patterns can 4 lamps show (count 'all off' as a pattern)?

    (pure number)Tolerance: exact

  2. Part (b) · 3 points

    The tower wants a separate pattern for each of 26 letters and 10 digits. What is the smallest number of lamps that is enough?

    (pure number)Tolerance: exact

  3. Part (c) · 2 points

    Reading the 4 lamps left to right as a binary number, the pattern on-off-on-on is which decimal number?

    (pure number)Tolerance: exact

Checked so far: 0 of 7 automatically marked points. Nothing is saved.

Stuck? Hints, then the worked solution

Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.