### Random Post

### Recent Posts

- Puzzle 67: Addition: letters for digits
- Enigma 1101: Disappearing numbers
- Enigma 410: Most right
- Tantalizer 475: League table
- Enigma 1102: The Apathy Party
- Enigma 409: Hands and feet
- Puzzle 68: Football and addition: letters for digits
- Enigma 1103: Brush strokes
- Enigma 408: Royal numbers
- Tantalizer 476: Take your partners

### Recent Comments

Jim Randell on Puzzle 67: Addition: letters f… | |

geoffrounce on Enigma 1313: Triangles | |

Jim Randell on Enigma 1313: Triangles | |

geoffrounce on Enigma 1313: Triangles | |

Jim Randell on Enigma 1313: Triangles |

### Archives

### Categories

- article (11)
- enigma (1,097)
- misc (2)
- project euler (2)
- puzzle (25)
- site news (42)
- tantalizer (25)
- teaser (3)

### Site Stats

- 161,924 hits

If the base is

b, thenb²represented in basebis always 100. So this is the answer to 4 across.We are also told that 1 across and 3 down are palindromic numbers, so there are only 4 unknown values to place in the squares.

Additionally the smallest possible value for 1 down is 111. In base 18 this corresponds to 343 (decimal), which would make the son at least 114, so I don’t bother checking bases higher than this.

This Python program considers bases between 2 and 18 and creates a collection of alphametic expressions in that base, then uses the generalised alphametic solver (

SubstituedExpression()) from theenigma.pylibrary to look for solutions.It runs in 66ms

Solution:Your son is 37.The cross-figure is in base 7, and the filled out grid is:

1 across: 212 (base 7) = 107 (decimal), prime.

4 across: 100 (base 7) = 49 (decimal), 7².

5 across: 642 (base 7) = 324 (decimal), 18².

1 down: 216 (base 7) = 111 (decimal), 3× 37.

2 down: 104 (base 7) = 53 (decimal), prime.

3 down: 202 (base 7) = 100 (decimal), 10².

I used Jim’s analysis that the answer to 4 across is 100.

It is not very pretty code and I was not sure whether to post it, but it gets the answer in about 100 msec on my laptop. Fortunately, clue 3 down gives a unique answer for the number base, which is used for the rest of the code.