Computer Science 15-100 (Sections T & U), Spring 2008
Homework 9a
Due:  Tue 1-Apr-2008 at 3pm (online submission) and at class (physical copy)
(no late submissions accepted <-- really!)



  1. This assignment is based on the Combinatorial Iterators lecture (notes are here), and uses Permutations, Combinations, Power Sets, and/or BaseNCounting from that lecture.

    For this problem, we will solve one kind of Cryptarithm problem.  There are variants on this game, so we will set out the rules here, especially as we are restricting our solution to just one kind of Cryptarithm.  Here, you are given an addition problem where letters are substituted for the digits.  Your goal is to reform the problem using digits rather than letters.  For example, if you are given "SEND + MORE = MONEY", you would find that this can be solved by substituting 9 for S, 5 for E, 6 for N, and so on, until you get:  "9567 + 1085 = 10652".  Here are some more specific rules:

Carpe diem!