Enigmatic Code

Programming Enigma Puzzles

Puzzle 79: Division: some letters for digits, some digits missing

From New Scientist #1130, 23rd November 1978 [link]

In the following division sum most of the digits are missing, but some are replaced by letters. The same letters stand for the same digit whenever it appears:puzzle-79

Find the correct sum.

[puzzle79]

Advertisements

One response to “Puzzle 79: Division: some letters for digits, some digits missing

  1. Jim Randell 1 March 2017 at 9:10 am

    We can solve this using the SubstitutedDivision() solver from the enigma.py library.

    Here’s the run file. It executes in 155ms.

    #!/usr/bin/env python -m enigma -r
    
    # solver to use
    SubstitutedDivision
    
    # the division sum
    "?????k / ?? = ??mk"
    
    # the intermediate subtraction sums
    "??? - ?k? = ?"
    ""
    "?m? - k?? = ?"
    "?? - ?m = m"
    

    Solution: The correct sum is 131672 ÷ 43 = 3062 remainder 6.

    puzzle-79-solution

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: