Enigmatic Code

Programming Enigma Puzzles

Puzzle 29: Division (letters for digits)

From New Scientist #1080, 1st December 1977 [link]

In the following division sum each letter stands for a different digit:

Rewrite the sum with the letters replaced by digits.

[puzzle29]

One response to “Puzzle 29: Division (letters for digits)

  1. Jim Randell 13 February 2019 at 8:41 am

    We can feed this puzzle directly to the [[ SubstitutedDivision() ]] solver from the enigma.py library.

    The following run-file executes in 114ms.

    Run: [ @repl.it ]

    #!/usr/bin/env python -m enigma -r
    
    SubstitutedDivision
    
    "kxmk / dk = bgp"
    
    "kx - gm = dp"
    "dpm - dmt = t"
    "tk - xb = db"
    

    Solution: The correct sum is: 8528 ÷ 18 = 473 (remainder 14).

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: