Sunday Times Teasers 3185 – Multiple Squares
by Howard Williams
Published Sunday October 08 2023 (link)
My grandson likes to compile 3×3 magic squares, where each of the three rows of numbers, each of the three columns of numbers and both of the straight diagonals, add up to the same total. This he did without repeating any of the nine numbers in the square.
He has now progressed to compiling similar 3×3 squares, which instead of the eight rows, columns and diagonals of numbers adding to the same total, they instead multiply to produce the same product. In his first such square this product was 32,768. He was able to find every square of nine different whole numbers that gives this product, excluding identical rotational and mirrored squares.
What, in ascending order were the totals of the nine numbers in each of his different squares?
An alternative formulation:
Brian
It hardly matters but there is a typo in R2C3 of your yellow additive square.
Thanks Tony, corrected now (with other corrections).
One liner for Brian’s first program. Always 2 numbers between (and including) 0 and 10 must be missing in the magic square.
Developed in Thailand on an Android smartphone with the app “Coding Python”.