**From New Scientist #1507, 8th May 1986** [link]

In the following football table and addition sum letters have been substituted for digits (from 0 to 9). The same letter stands for the same digit wherever it occurs and different letters stand the different digits.

The four teams are eventually going to play each other once – or perhaps they have already done so. The score in each match is different.

(Two points are given for a win and one point to each side in a drawn match).

Find the scores in the football matches and write the addition sum out with numbers substituted for letters.

[enigma358]

### Like this:

Like Loading...

This kind of problem can be solved with a combination of the

Football.substituted_table*()andSubstitutedSum()solvers from theenigma.pylibrary.This Python program runs in 73ms.

Solution:The scores in the played matches are: A vs B = 1-0; A vs C = 0-0; A vs D = 3-0; B vs C = 2-2; B vs D = 2-1; C vs D = 4-4. The addition sum is: 42 + 54 = 96.