Skip to content

Sunday Times Teaser 2658 – Different Views

by Graham Smithers

I have six identical dice, each with digits in place of the corresponding number of dots on a standard six sided die. I arranged these in a three layered triangular stack with three dice on the bottom, two in the middle and one on the top.  All the visible (or partly visible) top faces could be seen to be different.

The one, two and three digit numbers seen horizontally when viewed from the front were primes and from the back were squares. Working from top to bottom, the numbers seen from the left and right were a perfect square and a prime respectively.

What was the latter prime?

2 Comments Leave one →
  1. brian gladman permalink

  2. geoffrounce permalink

    I re-used Brian’s prime and squares code and then used a different method of solution.
    It runs in about 2.2 sec on my I7 desktop and produces four identical solutions.

Leave a comment to geoffrounce Cancel reply

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

Subscribe to this comment feed via RSS