Teaser 2447: [Number grid]
From The Sunday Times, 16th August 2009 [link]
In this variation on a sudoku theme, your task is to find a particular 5-by-5 array of digits in which each row and each column use the same five consecutive digits. When completed, you can read five 5-digit numbers across the rows and a further five down the columns. These 10 numbers should all be different, and their product should be divisible by the fourth powers of 11, 10 and 9. The product should also be divisible by the fourth (but not the fifth) power of 8.
What are the lowest and highest of your 10 numbers?
This puzzle was originally published with no title.
[teaser2447]







Jim Randell 8:14 am on 22 April 2026 Permalink |
The overall product is divisible by 9^4 (= 3^8), so at least one of the numbers is divisible by 3, and as the numbers are rearrangements of each other, they must all be divisible by 3. (And so the final product will have a divisor of at least 3^10).
We can fill out a grid using the digits 0-4 (allowing leading zeros), and than add the same value (between 0 and 5) to each digit to form a candidate grid.
The sum of the digits 0-4 is 10, and if this combines with 5 copies of the additional digit to give a multiple of 3 then the additional digit can only be 1 or 4.
This is the approach taken with the following run file, using the [[
SubstitutedExpression]] solver from the enigma.py library.It executes in 661ms. (Internal runtime of the generated code is 448ms (using PyPy 7.3.21)).
Solution: The lowest of the numbers is: 45768. And the highest is: 86547.
The prime factors are:
These combine to give an overall product with the following repeated prime factors:
In the published solution the lowest number was given as 45678, but this is likely to have been a typo.
LikeLike