Problems & Puzzles: Puzzles Puzzle 179. Prime Alphametics An Alphametic (also named cryptorithms) is an equation expressed in words that has some sense where each word is related to a number such that all the words and all numbers are congruent digit by digit. Let's see an example in Spanish: uno + uno + tres = cinco As a matter of fact the word sentence has sense because "uno+uno+tres" sums up to "cinco", and the numerical solution is also correct. Moreover, the complete set of words and numbers used is congruent because:
By the way, the example written above, corresponds to the model more commonly studied:
This model has been so widely studied that you in the Web several solvers on line (*) Necessarily the number of distinct letters used in any alphametic must not exceed 10 if the numbers are in base 10; and each word must be of the same size that the size of its associated number. Finally an alphametic is considered to be "good" if it has only one numeric solution. Now on, we propose to study two new models and the magicalphametic square. *** 1) New model (studied by J. C. Meyrignac):
For sure you must already have noticed that all the examples use words that are the names of prime numbers (on my request) J.C. Meyrignac has sent his code written in C available on request to these pages. Question 1. Can you find solutions to the Meyrignac model such that not only the words but the numbers associated to the words are all of them prime numbers 2) Model 2. SGModel (suggested by CR)
Question 2. a) Can you find more solutions of this type? b) Can you find the largest solution in your language? 3) Magic Alphametic Square (suggested by CR)
Question 3. Can you find a set of 9 words (w1, w2, ..., w9) whose numeric solution is also a solution to a magic 3x3 square? For this new object I have not still any specific solution. You are completely free to choose the nine homogeneous words (they can refer to numbers, to mathematicians, to planets, ...). Just make an elegant and ingenious election. Regarding the numbers associated to the 9 words, they aren't asked to be necessarily prime numbers. _____________ http://bach.cs.kobeu.ac.jp/llp/crypt.html Solution:





