Skip to content

Sunday Times Teaser 3263 – Snakes and Ladders

by BRG on April 6, 2025

by Victor Bryant

Published Sunday April 06 2025 (link)

My “Snakes and Ladders” board has numbers from 1 to 100 — you throw a die repeatedly and work your way up. There are three “snakes”, each taking you down from one perfect square to another, and three “ladders”, each taking you up from one prime to another. The twelve ends of the snakes and ladders are different two-figure numbers. You must go down a snake if you land on its top-end, and up a ladder if you land on its bottom-end.

For any number from 1 to 6, if I throw that same number repeatedly then I eventually land on 100. The number of throws of 4 needed (with first stops 4, 8, …) is one more than when throwing 5s, which is more than when throwing 3s.

What are the three ladders (in the form “p to q”)?

From → Uncategorized

3 Comments Leave one →
  1. BRG permalink

    This is a revised version that includes new code and loop reordering from Frits that makes the run-time reasonable using PyPy (it is still quite slow on CPython).

  2. BRG permalink

    With some analysis provided by John Crabtree it turns out that it is possible to deduce the form of the three snakes. This makes the run-time more acceptable;

  3. John Z permalink

Leave a Reply

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

Subscribe to this comment feed via RSS