## Teaser 2883: Happy Xmas

**From The Sunday Times, 24th December 2017** [link]

I wrote down three perfect squares. In each square precisely three of its digits were even, the rest being odd. Then I consistently replaced digits by letters, with different letters for different digits. In this way the the three squares became appropriately:

HAPPY

XMAS

TIMESWhat number does

TIMESrepresent?

[teaser2883]

## Jim Randell 9:19 am

on19 December 2019 Permalink |We can use the [[

`SubstitutedExpression()`

]] solver from theenigma.pylibrary to solve this puzzle.The following run file executes in 129ms.

Run:[ @repl.it ]Solution:TIMES= 31684.And:

HAPPY= 70225;XMAS= 9604.In fact, there is only one way to make

HAPPY,XMASandTIMESsquares, without any additional restrictions of the squares.LikeLike

## GeoffR 6:53 pm

on19 December 2019 Permalink |LikeLike