Skip to content

Sunday Times Teaser 2893 – Win Some, Lose Some

by Victor Bryant

Published March 4 2018 (link)

The six teams in our local league play each other once in the season.

Last season no two teams tied on points.

Above is part of the table from the end of that season, with the teams in alphabetical order.

However, digits have been consistently replaced by letters.

Please send in the number of LEMONS.

3 Comments Leave one →
  1. Brian Gladman permalink

    This is much longer than it needs to be to solve this particular teaser because I am using it to develop a more general solver for this type of puzzle.

  2. Arthur Vause permalink

  3. I derived a set of constraints from the table and then use the general alphametic solver (SubstitutedExpression()) from the enigma.py library [ http://www.magwag.plus.com/jim/enigma.html ].

    Here’s a run file that can be executed directly.

    The code can be executed on repl.it. [ https://repl.it/@jim_r/teaser2893 ]

    We could provide additional constraints (W=5; L,M,N,O,S are 0,1,2,3,4 (in some order)) but id doesn’t make much difference to the run time.

Leave a Reply

Note: HTML is allowed. Your email address will not be published.

Subscribe to this comment feed via RSS