Skip to content

Sunday Times Teaser 3172 – Light Show

by BRG on July 8, 2023

by Victor Bryant

Published Sunday July 09 2023 (link)

My bedside clock displays the time and date using eight digits; for example at 9.43am on 28th June the display would be (see image, above).

Each digit in the electronic display lights up some (or all) of seven light segments, the above display lighting up a total of 45 segments.

On one occasion recently the displayed digits were all different and the total number of lit segments was prime. The same was true exactly one day later. Then, just one minute after the second occasion, the number of lit segments was the average of the numbers of lit segments on those two previous occasions.

What was that third display?

From → Uncategorized

6 Comments Leave one →
  1. BRG permalink

  2. Frits permalink

    I found extracting data from a date string easier than accessing the date fields directly.

  3. John Z permalink

  4. Erling Torkildsen permalink

  5. BRG permalink

    Congratulations Guys, A full house this week!

  6. John Z permalink

    More compact, doesn’t import ‘datetime’ but uses lots of memory

Leave a Reply

Note: HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS